开发者

MVCContrib grid - sorting and paging

开发者 https://www.devze.com 2023-01-01 13:35 出处:网络
Every example I\'ve run across demonstrating paging and sorting assume that the controller action that populates the grid does a getAll开发者_开发技巧 on the datasource.However in my application I am

Every example I've run across demonstrating paging and sorting assume that the controller action that populates the grid does a getAll开发者_开发技巧 on the datasource. However in my application I am calling a web service that performs a search based on some form criteria passed in. When the pager or sort calls the action it sends nulls for all of the form data, thus breaking the result set that I originally had.

How do I implement paging and sorting without calling back to the web service again?


instead,you can save the search criteria in session variable

0

精彩评论

暂无评论...
验证码 换一张
取 消