A newer version of this page is available. Switch to the current version.

ASPxGridViewPagerSettings Class

Contains pager settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll


public class ASPxGridViewPagerSettings :

The following members accept/return ASPxGridViewPagerSettings objects:


The ASPxGridViewPagerSettings class contains the settings that allow you to customize pager buttons, specify the maximum number of rows that can be displayed on a page, etc. These settings can be accessed via the ASPxGridView’s ASPxGridView.SettingsPager property.

Online Demos


WebForms approach:

<dx:ASPxGridView ID="GridView" runat="server" DataSourceID="OrdersDataSource" Width="100%" KeyFieldName="OrderID">
    <Settings ShowGroupPanel="true" VerticalScrollBarMode="Visible" VerticalScrollableHeight="400" />
    <SettingsPager Mode="EndlessPaging" PageSize="20" />

MVC approach:

@Html.DevExpress().GridView(settings => {
    settings.Name = "gridView";
    settings.Settings.VerticalScrollBarMode = ScrollBarMode.Visible;
    settings.Settings.VerticalScrollableHeight = 400;

    settings.SettingsPager.Mode = GridViewPagerMode.EndlessPaging;
    settings.SettingsPager.PageSize = 20;
See Also