Copy an entire tree

3 posts, 1 answers
  1. Ed
    Ed avatar
    124 posts
    Member since:
    Jan 2008

    Posted 02 Jun 2009 Link to this post

    Hi there,

    What's the best way to make a server-side copy of an entire RadTreeView object (in C#) -- i.e., all nodes, attributes and everything else?

    Thanks,

    Ed Graham
  2. Answer
    Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Jun 2009 Link to this post

    Hello Ed,

    You can use the GetXml method to get the XML representation of the treeview. Then use the LoadXml method to populate a treeview from xml string.

    I hope this helps,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Ed
    Ed avatar
    124 posts
    Member since:
    Jan 2008

    Posted 02 Jun 2009 Link to this post

    Nice one, Albert -- that seems to have done the trick.
Back to Top