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

    Chris
  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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ryan
    Ryan avatar
    12 posts
    Member since:
    Jun 2013

    Posted 11 Apr 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?

     

    Thanks.

  5. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 14 Apr Link to this post

    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.
Back to Top