Store previous search criteria using ASP.NET

Posted by thatuxguy on Stack Overflow See other posts from Stack Overflow or by thatuxguy
Published on 2012-09-11T09:36:42Z Indexed on 2012/09/11 9:37 UTC
Read the original article Hit count: 222

Filed under:
|
|

I have created a web application which returns a list of products. On this page it allows users to search for a range of different search criteria.

Once a user searches and the results are returned to the table on the page a user can then edit a product. However upon returning to the product listing page the page just reloads, and shows all products again.

I would like to know what the best way would be to keep the search results, and upon returning to the search page it keeps the previous criteria.

I have found a few posts on stack exchange - Best way to store previous search criteria in ASP.NET - is probaly one of the better ones.

Does any one know how i could go about keeping the search criteria, so when a user returns to the search page, the previous search criteria and results stay the same.

Many thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET