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

TreeNodeExpandMode.WebService - Extra data

1 Answer 91 Views
This is a migrated thread and some comments may be shown as answers.
Paul Fleming
Top achievements
Rank 1
Paul Fleming asked on 22 Mar 2010, 12:04 PM

We're in the process of replacing our old tree control with a new one. We've implemented the expand mode as serversidecallback but there is a noticeable delay in comparison to the old tree (several seconds). The old tree control uses web service node expansion. Although this feature is available with the Telerik TreeView control, it is severely limited. We need to not only add the child nodes, but also register other client data/scripts. With ServerSideCallBack, we're writing our dynamic javascript to the Category field. Could you suggest how we could get similar results from WebService expand mode?

void AddNodeForWebServiceExpand(...)
RadTreeNodeData n;
n.Text = "My node";
n.Value = "N0";

/* add dynamic js */
n.<some string property> = "alert('name = My node; value = N0; extra data = <some extra data>')";


1 Answer, 1 is accepted

Sort by
Veselin Vasilev
Telerik team
answered on 23 Mar 2010, 02:28 PM
Hi Paul Fleming,

You can check this how-to help article:
Setting additional properties to the node in the Web Service

Hope it will get you started.

Sincerely yours,
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.
Asked by
Paul Fleming
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question