Jonas Hero
Top achievements
Rank 1
Jonas Hero
asked on 04 Nov 2009, 01:15 PM
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
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
5 Answers, 1 is accepted
0
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.
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.
0
Karla
Top achievements
Rank 1
answered on 10 Jun 2013, 07:35 PM
That link doesn't exist. Is there a way to keep the state in a gridview?
0
Hi Karla,
Maya
Telerik
The proper way now is to work with RadPersistenceFramework. Please check out this demo for further reference.
Maya
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Karla
Top achievements
Rank 1
answered on 18 Jun 2013, 08:08 PM
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.
0
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
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.