Ajax Paging With Area's In MVC 4

@Html.Raw(Ajax.Pager(

            new Options

            {

                PageSize = Model.PageSize,

                TotalItemCount = Model.TotalItemCount,

                CurrentPage = Model.PageNumber,

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

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

                Size = Size.normal,

                Alignment = Alignment.centered,

                IsShowControls = true

            },

    new AjaxOptions

    {

        UpdateTargetId = "grid-list",

        OnBegin = "beginPaging",

        OnSuccess = "successPaging",

        OnFailure = "failurePaging"

    }, new { controller = "Home", action = "Index", employee_name = ViewData["employee_name"] }))

 

nuget package

PM> Install-Package MVC4.Paging

Download

  Demo Download