Based on parent dropdowntree i have to bind child dropdowntree.
when i select --select-- in parent dropdowntree child should be blank.
i used
dd.DataSource=Nothing
dd.Databind()
but it not working
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 04 Apr 2016, 06:49 AM
Hello Sandeep,
In order to remove all nodes from a DropDownTree, you can call its EmbeddedTree NodeCollection's Clear() method as shown below:
RadDropDownTree2.EmbeddedTree.Nodes.Clear();
If you want to remove the nodes based on a selection made in another DropDownTree you can use its OnEntryAdded server-side event and call the method posted above in its handler.
Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.