EDIT: This question has been made redundant by this question as much of the code changed from using a repository to using just the controller: (Homework) MVC Pagination Help
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Cameron,
I can point you to an example that I created a wee while back for someone here on SO (using an IPagedList interface). it works as a htmlhelper but may be more featured than you’re after. it follows the pattern here on SO for paging, i.e.: