AddNodesTo for Adding nodes directly to treeview

3 posts, 0 answers
  1. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 22 Feb 2012 Link to this post

    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. Bozhidar
    Admin
    Bozhidar avatar
    1189 posts

    Posted 23 Feb 2012 Link to this post

    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.
  3. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 23 Feb 2012 Link to this post

    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.
Back to Top