This is a migrated thread and some comments may be shown as answers.

Tooltip on Load On Demand through WCF Service

1 Answer 38 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 14 Dec 2011, 12:17 PM
Hi,

I am using RadTreeView LoadOnDemand WCF Binding feature. Is there a way to bind the tooltip to node. I found this article http://www.telerik.com/help/aspnet-ajax/treeview-general-setting-additional-properties-to-the-node-in-the-web-service.html

but I do now want to use OnClientNodeDataBoundHandler event of the treeView. Is there any other alternative of direct binding of tooltip.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 14 Dec 2011, 01:00 PM
Hello Pooja,

Since the RadTreeNodeData object has only a limited number of properties, the only way to set additional information is to use the attributes collection. And the two events, where you can set the attributes to different properties of the RadTreeNode (such as ToolTip), are the OnNodeDataBound server event and the OnClientNodeDataBound client event. When you use WebService to load the nodes the only option is to use the client event.

All the best,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TreeView
Asked by
Pooja
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or