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

Expanded state

1 Answer 34 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 15 Nov 2011, 02:27 AM
Treeview is not in expanded state after postback.I want to retain the same after postback.how can I do this?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Nov 2011, 04:48 AM
Hello Tina,

Check the following code library which explains how to persist treeview expanded state.
Save the expanded state of the TreeNodes when the treeview is being bound upon each postback

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