Implement a link back to a search result page from one of its clicked on results.
What I am trying to do is pass a search query via a back link and to display the result in a view and then run the search query auto.
@Html.ActionLink("Back to List", "Index", new { searchString= TempData["lastSearchString"] } )
I am having trouble trying to implement this concept .
Is javascript a possibility?
This should retain the search results and text entered. Not sure if it works on all browsers however.