Simple GridView Serialization

2 posts, 1 answers
  1. Kennet
    Kennet avatar
    104 posts
    Member since:
    Jun 2009

    Posted 27 Sep 2013 Link to this post

    Hi,

    PersistenceManager works fine for this, but is there a lighter way?  I only need to get/set the order of columns. If the user re-order columns I want to save this and be able to load it. If I could cave to cookie or simular that would be best.

    Any ideas?

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 Sep 2013 Link to this post

    Hello,

    If you just need to store the order of columns, then you can iterate on each column and save its display index when unloading RadGridview. Then save this information on any storage you would like to use.
    After that, when you want to load the settings back, you just need to read through the saved values and restore the DisplayIndex per each columns back.
     

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top