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

[Solved] How to to remember the search criteria

1 Answer 191 Views
Grid
This is a migrated thread and some comments may be shown as answers.
venkat
Top achievements
Rank 1
venkat asked on 02 May 2008, 06:25 PM
Hello

I have a RadGrid, which lists message, on click of an item, i take user to a different page for details and when user completed working with details page, he/she will be sent to Messages page.

I have Filtering(AllowFilteringByColumn="true") enabled on the page, user is asking for a search criteria to be remembered for the session time of the user, meaning if there are 1000 messages, he will filter it down to 10 and he/she  needs to see only 10 Messages, unless he/she changes the search criteria

Any help or advises will be greatly helpful.

Thanks
Venkat R
CSC, USA

1 Answer, 1 is accepted

Sort by
0
Bodevain Svensson
Top achievements
Rank 1
answered on 04 May 2008, 01:21 PM
Venkat, the filter pattern should be kept across form submits when the end user enters some values in the filter boxes. You can test this here. Moreover, if you want to keep the filter when navigating to different pages and then switching back to the page with the grid, consider saving the user settings either using custom classes or the Profile object added to the framework since ASP.NET 2.x:

Help topic

Code library project using Profile object

Bodevain
Tags
Grid
Asked by
venkat
Top achievements
Rank 1
Answers by
Bodevain Svensson
Top achievements
Rank 1
Share this question
or