Paging With Area's In MVC 4

ID Name Email Phone City
1 Will donec@congueelitsed.org 1-274-748-2630 Wigtown
2 Johnny neque.non@Praesent.co.uk 1-762-805-1019 Malderen
3 Zia et.magna@Pellentesque.ca 1-920-437-3485 Las Vegas
4 Bhaumik enim.commodo@orci.net 1-562-653-8258 Talence
5 Will donec@congueelitsed.org 1-274-748-2630 Wigtown
6 Johnny neque.non@Praesent.co.uk 1-762-805-1019 Malderen
7 Zia et.magna@Pellentesque.ca 1-920-437-3485 Las Vegas
8 Bhaumik enim.commodo@orci.net 1-562-653-8258 Talence
9 Will donec@congueelitsed.org 1-274-748-2630 Wigtown
10 Johnny neque.non@Praesent.co.uk 1-762-805-1019 Malderen

@Html.Raw(Html.Pager(

            new Options

            {

                PageSize = Model.PageSize,

                TotalItemCount = Model.TotalItemCount,

                CurrentPage = Model.PageNumber,

                ItemTexts = new ItemTexts() { Next = "Next", Previous = "Previous" },

                TooltipTitles = new TooltipTitles() { Next = "Next page {0}", Previous = "Previous page {0}", Page = "Go to page {0}" },

                Size = Size.normal,

                Alignment = Alignment.centered,

                IsShowControls = true

            }, new { employee_name = ViewData["employee_name"] }))

 

nuget package

PM> Install-Package MVC4.Paging

Download

  Demo Download