4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 10 Feb 2010, 06:34 AM
Hello Kavitha,
Try the following approach in order to add the tooltip for Expand/Collapse image in treeview.
ASPX:
-Shinu.
Try the following approach in order to add the tooltip for Expand/Collapse image in treeview.
ASPX:
| <script type="text/javascript"> |
| function pageLoad() { |
| var treeView = $find("<%=RadTreeView1.ClientID%>"); |
| var node = treeView.get_nodes().getNode(0); |
| var length = treeView.get_allNodes().length; |
| for (var i = 0; i < length; i++) { |
| var toggleElement = treeView.get_allNodes()[i].get_toggleElement(); |
| if (toggleElement) { |
| toggleElement.alt = "Expand/Collapse"; |
| toggleElement.title = "Expand/Collapse"; |
| } |
| } |
| } |
| </script> |
-Shinu.
0
kavitha
Top achievements
Rank 1
answered on 11 Feb 2010, 01:50 PM
Thanks for the reply Shinu.
But can we do it without javascript.
Do we have a property to do this?
For example in RadTreeView, we can do it easily by
"RadTreeView1.HierarchySettings.ExpandTooltip"
0
Hi kavitha,
To my regret this is not possible. The only workaround is to set it with javascript.
Kind regards,
Veskoni
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
To my regret this is not possible. The only workaround is to set it with javascript.
Kind regards,
Veskoni
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
kavitha
Top achievements
Rank 1
answered on 12 Feb 2010, 05:07 PM
ok. Thanks for the reply.
You could note for future version :)
You could note for future version :)