Try to see the property of zIndex. That actually keeps which control to be on Top for the entire page. Try to see if you have some option in that area.
I think you need to grasp the both properties further:
Use the ToolTip property to specify the ToolTip text for the node. The ToolTip text is displayed when the mouse pointer is positioned over the node.
The ImageToolTip Property Gets or sets the ToolTip text for the image displayed next to a node. When an image is displayed next to a node (when the
ImageUrl property is set), use the ImageToolTip property to specify the ToolTip displayed when the user positions the mouse pointer over the image. The text that you specify provides assistive technology
devices with a description of the image that can be used to make the control more accessible.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
yorky001
Member
106 Points
112 Posts
TreeView - ImageToolTip & ToolTip
Sep 06, 2011 02:06 PM|LINK
Hi,
Is the TreeView ToolTip property supposed to override the ImageToolTip of the same treeview node?
This bit of code causes the text "tooltip" to be shown when hovering over both the image & text of a node
if (standardReport.ReportType == "EXT" && standardReport.isInternal) { tn2.ImageUrl = @"~/Images/Excel1.gif"; tn2.ImageToolTip = "image tooltip"; tn2.ToolTip = "tooltip"; }nadellas
Participant
1218 Points
299 Posts
Re: TreeView - ImageToolTip & ToolTip
Sep 06, 2011 02:39 PM|LINK
Hi
Try to see the property of zIndex. That actually keeps which control to be on Top for the entire page. Try to see if you have some option in that area.
thanks
Srinivasa Nadella
yorky001
Member
106 Points
112 Posts
Re: TreeView - ImageToolTip & ToolTip
Sep 06, 2011 03:07 PM|LINK
Hi,
Seems like .ToolTip always overrides .ImageToolTip, regardless of the order in which they are set.
I've debugged this screen and there does not appear to be a zindex property of the TreeViewNode (tn2 in the example)
Regards
Dave
TreeNode tn2 = new TreeNode(); tn2.Text = standardReport.ReportName; tn2.SelectAction = TreeNodeSelectAction.SelectExpand; tn2.ShowCheckBox = true; tn2.ImageUrl = String.Format("~/Images/{0}", standardReport.IconName); tn2.ToolTip = "2"; tn2.ImageToolTip = "1"; tn.ChildNodes.Add(tn2);Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: TreeView - ImageToolTip & ToolTip
Sep 09, 2011 07:03 AM|LINK
Hi,
Have your solved it?
Feedback to us
Develop and promote your apps in Windows Store
yorky001
Member
106 Points
112 Posts
Re: TreeView - ImageToolTip & ToolTip
Sep 09, 2011 08:53 AM|LINK
Nope :-(
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: TreeView - ImageToolTip & ToolTip
Sep 13, 2011 06:55 AM|LINK
Hi,
I think you need to grasp the both properties further:
Use the ToolTip property to specify the ToolTip text for the node. The ToolTip text is displayed when the mouse pointer is positioned over the node.
The ImageToolTip Property Gets or sets the ToolTip text for the image displayed next to a node. When an image is displayed next to a node (when the ImageUrl property is set), use the ImageToolTip property to specify the ToolTip displayed when the user positions the mouse pointer over the image. The text that you specify provides assistive technology devices with a description of the image that can be used to make the control more accessible.
Feedback to us
Develop and promote your apps in Windows Store
yorky001
Member
106 Points
112 Posts
Re: TreeView - ImageToolTip & ToolTip
Sep 13, 2011 09:32 AM|LINK
Hi,
Yes I know what each property does, howver it does not appear to work.
When both are specified, with different text, then only the ToolTip property is shown on mouse over.
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: TreeView - ImageToolTip & ToolTip
Sep 14, 2011 02:56 AM|LINK
You mean that you specified the both properties in the same node? When you want to display ImageToolTip please just apply the ImageToolTip property.
Feedback to us
Develop and promote your apps in Windows Store
yorky001
Member
106 Points
112 Posts
Re: TreeView - ImageToolTip & ToolTip
Sep 14, 2011 07:07 AM|LINK
But that was my original question...
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: TreeView - ImageToolTip & ToolTip
Sep 15, 2011 02:57 AM|LINK
So you want to display ImageToolTip and ToolTip on the one TreeNode? If so, why you want to do that?
Feedback to us
Develop and promote your apps in Windows Store