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

RadTreeNodeCollection

1 Answer 21 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andrew Johns
Top achievements
Rank 1
Andrew Johns asked on 23 Sep 2009, 09:54 AM
I have a navigational RadTreeView which is built based on various DB calls for each branch, and was thinking it would be ideal if I could build them once, and then stick RadTree.Nodes into a cache object, which I can later re-use without needing to hit the database again.

Unfortunately RadTree.Nodes is Get only, and doesn't allow me to write the cached NodeCollection back to the Tree on the next load.

Is there any way to do something like this?


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 23 Sep 2009, 10:48 AM
Hello Andrew,

I suggest you use GetXml() and LoadXml() methods of RadTreeView as it's demonstrated here.

Best regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Andrew Johns
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or