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

Rad Grid forgets collapsed/expanded state when clickin on edit

3 Answers 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christoph
Top achievements
Rank 1
Christoph asked on 24 Feb 2009, 09:28 AM
Dear Sirs

I ran into a nasty problem thats really annoying me. I setup a Rad Grid with various groupings.
I can now expand and collapse those groups and it gets remembered over postbacks.
Once i click into "edit" on an item, all collapsed / expanded groups revert to their original state (either all expanded or all collapsed)

Why isnt it keeping my collapse/expand state?

Thanks for the help

Chris

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Feb 2009, 10:11 AM
Hello Christoph,

I have seen an interesting Code library submission which demostrates how to persist the expanded state of the Groups on Rebind. Go through it and see whether it give some insights.
Persist Groups Expanded State on Rebind

Thanks,
Shinu.
0
Ryan
Top achievements
Rank 1
answered on 11 Apr 2016, 07:11 PM

Just to clarify, I have the same problem as the OP.  

1. In the current release , the RadGrid does not save it's expanded/collapsed state when the grid transitions from read mode to edit mode ?

2.Is the proposed solution here, still the best solution, as it's been quite a long time, and seems the Telerik control should do this already?

 

Thanks.

0
Eyup
Telerik team
answered on 14 Apr 2016, 04:06 PM
Hello Ryan,

You can use the RetainExpandStateOnRebind property to achieve this requirement.
I hope this will prove helpful.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Christoph
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ryan
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or