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

AddNodesTo for Adding nodes directly to treeview

2 Answers 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
mirang
Top achievements
Rank 1
mirang asked on 22 Feb 2012, 02:37 PM
I am referring to the following link for adding nodes on the client side in the treeview.
http://www.telerik.com/community/code-library/aspnet-ajax/treeview/radtreeview-s-addnodesto-method-as-best-performing-solution-for-creating-new-or-moving-existing-nodes-on-the-client-side.aspx 

Is it also possible to add the nodes at level 0, i.e. directly under the treeview instead of a node. I tried this approach, it worked for adding nodes under a node, but not under treeview. Can you please let me know where I might be going wrong.

2 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 23 Feb 2012, 10:51 AM
Hi Mirang,

Yes, this is possible. In the Code Library article you specified this is achieved through the first two buttons: "Add Ten Nodes To TreeView1" and "Add Ten Nodes To TreeView1".
 
All the best,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
mirang
Top achievements
Rank 1
answered on 23 Feb 2012, 10:53 AM
Thanks for your reply. I actually had some code issue, which was not able to make it work. After some modifications, it got working.
Thanks again.
Tags
TreeView
Asked by
mirang
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
mirang
Top achievements
Rank 1
Share this question
or