How to do ASP.NET MVC Pagination in 30 minutes?

I needed web content pagination in my ASP.NET MVC 3 project. I found few solutions on the web, but end up accessing the first two below.

Telerik has ASP.NET MVC extensions which I think is free and cool. To get the Telerik paging working in my MVC application I install Telerik MVC Extension nuget using Visual Studio 2010 NuGet Package Manager. Then I configured the controller, view and off you go. I got something like this.

Telerik Paging Grid

Telerik Paging Grid

MVCPaging is also another easy way to achieve paging. Install MvcPaging nugget using Visual Studio 2010 NuGet Package Manager. Download the source code for MvdPaging form github and see the sample in MvcPaging.Demo. I also found this article useful to understand MvcPaging.



I did not end up accessing MvcContrib, because MvcPaging fit my requirements. Here is a nice article with source code if you are interested.

I end up using MvcPaging for my application as I needed to be able to display boxes of information and paging on the bottom of the webpage as shown in the MvcPaging image above. But if you have lot of data and need to show it in a grid Telerik is a great option too.

Please let me know if you find any other better solutions for paging.

Diganta Kumar is an experienced Technical Program Manager with a passion for technology. He has architected and developed software for over a decade for a broad range of industries. Diganta is a founder of two online IT businesses. He likes to help, mentor, and manage software development teams to improve and produce great software. He currently works as a Principal Program Manager for Microsoft. Before joining Microsoft, he was with AWS for five years, where he managed large cross-functional programs on a global scale.

Tagged with: , ,
Posted in MVC
One comment on “How to do ASP.NET MVC Pagination in 30 minutes?
  1. brownvenus says:

    Telerik seems really interesting.I’ll try this out.was searching for something like this.Thanks Diganta.
    ASP.Net Web Development

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: