pagedlist - Asp.Net MVC Paged List and passing Search Criteria -
i using troy goode's pagedlist extension on mvc page. working fine rendering partial containing given page of records.
now have implement filtering of search results. using ajax form fetch partial containing results matching given search criteria. works if there less 1 page of results. if filtered results beyond 1 page, there issue. when clicked on paging link filtering information gone , results next page of unfiltered information.
what mechanism can use pass filtering information when entered filter search results , there paging link?
my pagedlist library takes func generate url when call @html.pagedlist(...):
page => url.action("index", new { page = page }) you need customize parameters you're passing url.action (which microsoft class/method, docs can found on msdn).
Comments
Post a Comment