Save and restore grid filter & sort

6 posts, 0 answers
  1. Jonas Hero
    Jonas Hero avatar
    9 posts
    Member since:
    Jul 2009

    Posted 04 Nov 2009 Link to this post

    Hi,

    i'm looking for a mechanism to save and restore the filter and sort state of a grid. In case to restore, i make a new instance of the grid, but it has the same datasource.

    Thanks in advance,

    Jonas
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Nov 2009 Link to this post

    Hello Jonas,

    Please check this demo  for more info:
    http://demos.telerik.com/silverlight/#GridView/SaveLoadSettings

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Karla
    Karla avatar
    6 posts
    Member since:
    Apr 2012

    Posted 10 Jun 2013 Link to this post

    That link doesn't exist. Is there a way to keep the state in a gridview?
  4. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Jun 2013 Link to this post

    Hi Karla,

    The proper way now is to work with RadPersistenceFramework. Please check out this demo for further reference. 

    Regards,
    Maya
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Karla
    Karla avatar
    6 posts
    Member since:
    Apr 2012

    Posted 18 Jun 2013 Link to this post

    thanks for the response Maya; I have a question regarding the RadPersistence framework, can it be used to keep the state of the grid after a browser refresh? the demo seems to work only for the same browser session.
  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3299 posts

    Posted 21 Jun 2013 Link to this post

    Hi Karla,

    The demo demonstrates an approach using a stream to save the persisted data. You can save this stream in a database as this will allow you to get the value of the stream from your database during different sessions.

    Also, the PersistenceFramework allows you to save the persisted data in an IsolatedStorage. With this approach you will be able to access the files containing the persisted data from the isolated storage whenever you need them, even during different sessions.

    I hope this information helps but do write back in case you need further assistance.

    Regards,
    Tina Stancheva
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top