All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
TreeView
/
Copy an entire tree
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
3 posts, 1 answers
Ed
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
Answer
Atanas Korchev
Admin
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.
Ed
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
Close