Hi guys,
Scenario:
I have a LOD treeview which displays imagecategories as well as images from these categories.
I'm using the ImageUrl property of nodes to display thumbnails and I want to display the full size images when the user hovers each thumbnail.
Problems:
Consider this code taken from the treeview_nodexpand sub:
Despite having set the AutoTooltipify property to true in the tooltipmanager it doesn't kick in in this situation.
So instead of getting the full size image as a tooltip, I simply get the string <img src=' ...
Another minor problem is that the tooltip is just applied to the node.text and not the node.image.
Any thoughts?
P.S. As an end result I would really like to use LOD for the tooltips as well, I'm just not that far into this yet.
Regards,
-DJ-
Scenario:
I have a LOD treeview which displays imagecategories as well as images from these categories.
I'm using the ImageUrl property of nodes to display thumbnails and I want to display the full size images when the user hovers each thumbnail.
Problems:
Consider this code taken from the treeview_nodexpand sub:
While dtrReader.Read() |
Dim itemNode As New RadTreeNode(dtrReader("ImgName").ToString(), dtrReader("imgID")) |
itemNode.ImageUrl = ConfigurationManager.AppSettings(Session("DB") & "imgDir") & "small_" & dtrReader("imgName") |
itemNode.ToolTip = "<img src='" & ConfigurationManager.AppSettings(Session("DB") & "imgDir").Replace("~/", "../") & dtrReader("imgName") & "'/>" |
node.Nodes.Add(itemNode) |
End While |
Despite having set the AutoTooltipify property to true in the tooltipmanager it doesn't kick in in this situation.
So instead of getting the full size image as a tooltip, I simply get the string <img src=' ...
Another minor problem is that the tooltip is just applied to the node.text and not the node.image.
Any thoughts?
P.S. As an end result I would really like to use LOD for the tooltips as well, I'm just not that far into this yet.
Regards,
-DJ-