Telerik Extensions for ASP.NET MVC

Version Q2 2012, released 06/07/2012

Paging

The pager should ...

Order IDContact NameShip AddressOrder Date
10248Paul Henriot59 rue de l'Abbaye07/04/1996
10249Karin JosephsLuisenstr. 4807/05/1996
10250Mario PontesRua do Paço, 6707/08/1996
10251Mary Saveley2, rue du Commerce07/08/1996
10252Pascale CartrainBoulevard Tirou, 25507/09/1996
10253Mario PontesRua do Paço, 6707/10/1996
10254Yang WangHauptstr. 3107/11/1996
10255Michael HolzStarenweg 507/12/1996
10256Paula ParenteRua do Mercado, 1207/15/1996
10257Carlos HernándezCarrera 22 con Ave. Carlos Soublette #8-3507/16/1996
Displaying items 1 - 10 of 830

About this example ASPXRazor

This example shows the various pager styles supported by Telerik Grid for ASP.NET MVC:

  • Page input
  • Next and previous buttons
  • Numeric pager buttons

You can customize the pager style, pager position and page size by using the Pageable method:

<%= Html.Telerik().Grid(Model)
        .Name("Grid")
        .Pageable(paging => 
            paging.PageSize(20)
                  .Style(GridPagerStyles.NextPreviousAndNumeric)
                  .Position(GridPagerPosition.Bottom)
        )
        
 %>

You can set the initial page of the grid by using the PageTo method

<%= Html.Telerik().Grid(Model)
        .Name("Grid")
        .Pageable(paging => paging.PageTo(3))
 %>

Interested in HTML5 and mobile-powered ASP.NET MVC apps?

Experience the next generation UI and framework for ASP.NET MVC development by downloading trial evaluation copy of Kendo UI Complete for ASP.NET MVC. Jumpstart your development with the available learning resources.

The differences between Telerik MVC Extensions and Kendo UI Complete for ASP.NET MVC, and their licensing models are explained here and here.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Other Demos: