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

Telerik RadGrid Filter State Persistense

4 Answers 289 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mahesh Babu Immedisetty
Top achievements
Rank 1
Mahesh Babu Immedisetty asked on 25 Nov 2010, 11:04 AM
Hi,

We have website in which many pages are having radgrid. currently our customers are setting filters on the grid. they may go to other pages for browsing from this page. They are getting annoyed when they come back to the page where they set their filters before. As this is a fresh page to asp.net http cycle, the page will be rendered from start.

I just want to know is their any process in which the state(filters) is stored for the grid and applied when they come back to this page?

Please let me know.

Thanks,
Mahesh

4 Answers, 1 is accepted

Sort by
0
Accepted
Veli
Telerik team
answered on 25 Nov 2010, 05:51 PM
Hi Mahesh,

You can refer to the RadGrid Persisting Grid Settings demo for a sample implementation of a grid settings persister that is also storing your filter settings. You can use it to persist your grid filters in the session (in the same way as demonstrated) or to another persistence medium (cookies, DB, etc).  I believe to uniquely identify a set of persisted RadGrid settings, you need to build a key formed by the grid UniqueID as well as the page URL where the grid is located.

Greetings,
Veli
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Mahesh Babu Immedisetty
Top achievements
Rank 1
answered on 26 Nov 2010, 11:26 AM
Thanks a lot. worked like a champ.
0
Npv
Top achievements
Rank 1
answered on 15 Nov 2013, 11:07 PM
http://demos.telerik.com/aspnet-ajax/grid/examples/integration/persisting-grid-settings/defaultcs.aspx

Server Error in '/aspnet-ajax' Application.


is not working, thanks.
0
Maria Ilieva
Telerik team
answered on 20 Nov 2013, 11:25 AM
Hi,

The mentioned online demo was modified to a code library which could be found below:

http://www.telerik.com/community/code-library/aspnet-ajax/grid/persisting-radgrid-settings-with-gridsettingspersister-helper-class.aspx

We have also added a new demo for persisting the Grid setting using the RadPersistenceFramework which could be found here:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/persisting-grid-settings/defaultcs.aspx?product=grid

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Mahesh Babu Immedisetty
Top achievements
Rank 1
Answers by
Veli
Telerik team
Mahesh Babu Immedisetty
Top achievements
Rank 1
Npv
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or