Hi,
I have MVC 1.0 app on VS2008.
I have webpage that has a search form fields and then when search button clicked uses Ajax.BeginForm to load results in a div. Works great!
But the results have a pager that just uses an anchor with href passing in page index to controller action.
Of course the same action that is used when the search button is clicked.
So what happens is the results are displayed in new page by themselves. Because the links are not called using Ajax.
So how can I structure my views and actions so that when a link is clicked in the pager that the form is submitted to the action as well as the page index for the results??
Do you understand me??
Malcolm