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

[Solved] Tree nodes collection becomes null

0 Answers 23 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Priya
Top achievements
Rank 1
Priya asked on 19 Oct 2010, 08:38 AM
Hi Telerik,

I am adding nodes to a treeview dynamically on a button click event. Am calling the controller on button cick using javascript. In the controller have a value in ViewData. Then it returns to the View. And  on pageload, if ViewData value is true, am adding nodes to the treeview. I am able to add one node. Then when i again click on the button to add another node, the node list is empty and first node gets replaced by this. 
Please help me on this.

Thanks
Tags
TreeView
Asked by
Priya
Top achievements
Rank 1
Share this question
or