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

Treeview State Between Pages

2 Answers 56 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Naveen
Top achievements
Rank 1
Naveen asked on 02 Feb 2011, 07:22 AM
Hi Team ,

I am new to telerik.i am having RadTreeView in MasterPage and having around 100 pages are using this masterpage.what are the differents ways(by using serverside or clientside) to maintain the state of treeview between the pages (ex:expanding and collapsing etc..).

Please help me..

Regards ,
Naveen M

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Feb 2011, 10:50 AM
Hi Naveen,

One suggestion is 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.

Also the following links will be of help in this.
RadTreeView save expanded state
Save the expanded state of the TreeNodes when the treeview is being bound upon each postback


-Shinu.
0
Naveen
Top achievements
Rank 1
answered on 02 Feb 2011, 11:11 AM
thanks shinu,

will check it and get back to you in case of any problems
Tags
TreeView
Asked by
Naveen
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Naveen
Top achievements
Rank 1
Share this question
or