I have a simple ASP.NET MVC application, like movie sample. In the list.aspx page I have a grid, the grid has information from the database. I can fill the grid by search criteria.
For example, I select product.cost < 60
, I commit. The grid is filled with product, where product cost<60.
After I click to details to view details of one product from result set.
After I click on Back to list (html.ActionLink("Back to list", "Index"
). And in this moment generated my question. Because, will be shown all products.
What is the best way to save previous search criteria? (I need, when I click to "back to list", previously saved search criteria).