Skip to main content

ASPxDataView.PagerSettings Property

Gets the settings related to the pager.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public DataViewPagerSettings PagerSettings { get; }

Property Value

Type Description

A DataViewPagerSettings object that contains pager settings.


Use the PagerSettings property to access the settings that allow you to customize the data view’s pager. For instance, you can hide individual navigation buttons, specify whether to show separators and buttons that are temporarily disabled, etc.


This example demonstrates how the ASPxDataView control can be customized to make use of the SEO-friendly paging feature.

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" 
Inherits="_Default" %>
<%@ Register Assembly="DevExpress.Web.v8.3, Version=, Culture=neutral, 
    Namespace="DevExpress.Web.ASPxDataView" TagPrefix="dxdv" %>  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

<script runat="server">

<html xmlns="" >
 <head id="Head1" runat="server">
     <title>SEO-friendly paging</title>
     <form id="form1" runat="server">

         <dxdv:ASPxDataView ID="ASPxDataView1" runat="server" 
              DataSourceID="dsSampleDataSource" RowPerPage="2" ColumnCount="2">
             <PagerSettings SEOFriendly="Enabled"></PagerSettings>
                 <b>CustomerID</b>: <asp:Label Text='<%# Eval("CustomerID") %>' 
                       runat="server" ID="CustomerIDLabel" /><br/>
                 <b>ContactName</b>: <asp:Label Text='<%# Eval("ContactName") %>' 
                       runat="server" ID="ContactNameLabel" /><br/>
                 <b>City</b>: <asp:Label Text='<%# Eval("City") %>' runat="server" 
                       ID="CityLabel" /><br/>

         <asp:AccessDataSource ID="dsSampleDataSource" runat="server" 
             SelectCommand="SELECT [CustomerID], [ContactName], [City] FROM [Customers]">
See Also