Im using asp.net mvc.
i have links associated with a list of "Document"...when clicked the links call an action method to add the document to a list of favourites.
how in the action method do i return to the same page before the "add favourite" link is clicked? the reason is i want to maintain the querystring parameters that have paging etc
eg:
MyPage
page 1 of 3
Document1 [add to favourites] (a link that calls an action method)
Document2 [add to favourites] (a link that calls an action method)
Document3 [add to favourites] (a link that calls an action method)
Document4 [add to favourites] (a link that calls an action method)
paging is maintained within the url with querystring parameters..
when they click add i want to be able to maintain the url. as it should take into account the page number it's on