阅读背景:

用ASP分页的表。净MVC和AJAX

来源:互联网 

I'm looking for good patterns for implementing a paged table of results in ASP.NET MVC with sorting, filtering, and paging provided via AJAX. It seems to me that I should have my controller actions provide only the data and not mark up to maintain the separation of concerns -- so the Ajax callback would provide new table data and pager settings which the client would use to re-render the table. Alternatively, I could use have the controller return a partial view that I simply replace inside a container on the page.I'm looking for good patterns for implementing




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: