How to call the previous querystring parameter in .aspx

Posted by Ingó Vals on Stack Overflow See other posts from Stack Overflow or by Ingó Vals
Published on 2010-05-07T11:26:20Z Indexed on 2010/05/07 11:28 UTC
Read the original article Hit count: 249

Let's say I have a ActionResult method that has a pageNumber parameter and a category parameter.

The user should be able to set the category he's browsing which would be a ActionLink to the first page of that category. However if I have an another ActionLink where I go to the next page the category parameter would go back to default.

How can I set the category parameter to be the same as on the previous page.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about querystring