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

web serivce for sub child nodes

1 Answer 20 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Gaja
Top achievements
Rank 1
Gaja asked on 23 Aug 2010, 06:39 PM
Hello
 I am loading my root nodes of the tree on the server side using RootNode.Nodes.Add(ChildNode)
The Child nodes have a ExpandMode set to Webservice.In the aspx page i have the following setting for the tree

 

<WebServiceSettings Path="../WebService/NAMWS.asmx" Method="GetWorkOrders" />

 

 


All this works fine but when i click the root nodes the child nodes are loaded from the web service but i want the expandmode of the child nodes also to be web service i want to have an expand icon for the child node where i should be able to load child nodes to the child node using web service. .. i should be able to continue loading as many levels of child nodes using web using web service. how do i do this and set the expand modes of the child nodes to webservice

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 24 Aug 2010, 10:29 AM
Hi Gaja,

You can set the ExpandMode property of the Nodes in the Web Service. Please see this demo as an example.

Best wishes,
Simon
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
Tags
TreeView
Asked by
Gaja
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or