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

RadTreeView collapse problem on postback to masterpage.

1 Answer 80 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Akki
Top achievements
Rank 1
Akki asked on 10 Jan 2012, 01:09 PM
Hi,
I have a RadTreeView in MasterPage. After login, Landing page will inherit the master page containing the RadTreeView and the RadTreeView is loaded correctly.
Then i will expand the RadTreeView and click on one of the node which will navigate to other page which inherits the same masterpage which contains the RadtreeView. But the problem is entire page is getting resfreshed and RadtreeView will be collapsed as it was when first time.. i want to avoid this.. Can anyone help ?

Any solution for this ?

Regards,
Akki

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Jan 2012, 05:20 PM
Hello,

You can try to persist the expanded state of nodes in cookies as implemented in the attached project. 

Hope this helps.

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TreeView
Asked by
Akki
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or