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

Trouble keeping the trees expanded after reload

1 Answer 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 02 Apr 2009, 08:03 PM

if i have a few nodes expanded if the page is refreshed they all collape.  How do you keep the nodes you have expanded open after a refresh or a page change?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Apr 2009, 10:50 AM
Hi Ryan,

One suggestion is that to use the GetXML() method to get the current state of RadTreeView as XML string and save the XML string. When you decide to restore your Treeview call the LoadXmlString() method to populate the treeview from the previously stored XML String. Please refer the forum link which discusses similar scenario.
RadTreeView save expanded state

Thanks,
Shinu.
Tags
TreeView
Asked by
Ryan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or