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

RadTreeView Expand Nodes

1 Answer 148 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ali Akbar
Top achievements
Rank 1
Ali Akbar asked on 20 Nov 2009, 11:30 AM
Scenario: I have added nodes in the treeview by using the designer and wanted to keep the nodes in expanded mode once it makes a postback after the node is clicke. Could you please help me how well i could achieve the desire stuff.


Explanation: When the treeview makes a postback with nodeclick event the nodes in the treeview is collapsing. Please help me in keeping them expanded.





Regards,
Ali

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Nov 2009, 01:36 PM
Hi Ali Akbar,

I tried the scenario and RadTreeView (RadControls Version 2009, 3, 1103, 35) keeps the expanded state even after postback. Probably the following code library will be of help if you are using old version of RadControls.
Save the expanded state of the TreeNodes when the treeview is being bound upon each postback

-Shinu.
Tags
TreeView
Asked by
Ali Akbar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or