This is a migrated thread and some comments may be shown as answers.

How to restore grid filtering settings on page load

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Iron
Paul asked on 09 Jun 2016, 10:37 PM
I had setup a way to restore the filtering/sorting of the grid through session on page load when it went to "NeedDataSource" function. However, the data I am currently populating has a lot of data, and had to optimize the performance of the grid by starting to use the entitydatasource that you specified in the documentation. The grid is faster, but I am unsure how to restore the filter/sort settings the user made now. Is there another way I can restore?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 14 Jun 2016, 10:54 AM
Hi Paul,

If you would like to persist the state of the RadGrid control you can use the PersistenceManager. The controls can be used together out of the box. Please examine the following resources for a live example and additional information.



Regards,
Viktor Tachev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Iron
Answers by
Viktor Tachev
Telerik team
Share this question
or