How do you implement paging in ASP.NET MVC?
Posted
by Kevin Pang
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Pang
Published on 2008-11-15T00:41:54Z
Indexed on
2010/04/30
7:57 UTC
Read the original article
Hit count: 315
asp.net-mvc
|paging
Currently, I'm using a strategy found on many blog posts. Basically, the URL contains the page number (e.g. /Users/List/5 will give you the users on page 5 of your paged list of users). However, I'm not running into a situation where one page must list two separate paged lists. How do I go about doing this using ASP.NET MVC? Do I simply provide two url parameters (e.g. /Users/List?page1=1&page2=2)? Is there a better way by using partial views?
© Stack Overflow or respective owner