Can someone give me an example of a webdatatree(with single child) bound to a dataset and on clicking one of the items in that tree should populate the 2nd webdatatree.
Hello dev_here ,
Thank you for posting in our forum.
Please refer to the attached sample.
To populate the second tree you could use the onnodeclick event of the first tree to get the clicked node and based on that set the data source of the second tree. To force a postback you could set an autopostback flag for node click:
<AutoPostBackFlags NodeClick="On" />
This will cause a postaback when you click on any of the nodes and in the server side event handler you can populate the second tree.
Let me know if you have any questions.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://es.infragistics.com/support