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

How to keep grid expanded after postback?

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 29 Apr 2009, 08:20 PM
I have a hierarchical grid that uses NeedDataSource, and the entire page uses an AjaxManager. The second level of the grid has a GridButtonColumn and after it executes the SQL statement it needs to, it rebinds the grid. However, on rebind the row is no longer expanded. Is there a way to persist the expanded state?

Bill

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Apr 2009, 03:43 AM
Hello Bill,

You can go through he following link which explains on how to retain the expanded/selected state for grid items in hierarchy upon a rebind command.
Retain expanded/selected state in hierarchy on rebind

Thanks
Princy.
Tags
Grid
Asked by
Bill
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or