Rad Grid forgets collapsed/expanded state when clickin on edit

4 posts, 0 answers
  1. Christoph
    Christoph avatar
    6 posts
    Member since:
    Jan 2009

    Posted 24 Feb 2009 Link to this post

    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

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Feb 2009 Link to this post

    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

  3. Ryan
    Ryan avatar
    15 posts
    Member since:
    Jun 2013

    Posted 11 Apr 2016 in reply to Shinu Link to this post

    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?



  4. Eyup
    Eyup avatar
    4081 posts

    Posted 14 Apr 2016 Link to this post

    Hello Ryan,

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

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top