Export (0) Print
Expand All
Expand Minimize

PagerButtons Enumeration

Specifies the types of buttons to display for navigating between pages of content in a paginated control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public enum PagerButtons

Member nameDescription
NextPreviousA set of pagination controls consisting of Previous and Next buttons.
NextPreviousFirstLastA set of pagination controls consisting of Previous, Next, First, and Last buttons.
NumericA set of pagination controls consisting of numbered link buttons to access pages directly.
NumericFirstLastA set of pagination controls consisting of numbered and First and Last link buttons.

The PagerButtons enumeration represents the types of buttons to display for navigating between pages of content in a paginated control. This enumeration is used by the Mode property to specify the type of navigation buttons to display in controls that use the PagerSettings class, such as GridView and DetailsView.

PagerButtons.NextPrevious displays Next and Previous buttons to access the next and previous pages of the paginated control.

PagerButtons.NextPreviousFirstLast displays Next and Previous buttons as well as First and Last buttons to directly access the first and last pages of the paginated control.

PagerButtons.Numeric displays numeric link buttons corresponding to the pages of the paginated control.

PagerButtons.NumericFirstLast displays numeric link buttons corresponding to the pages of the paginated control as well as First and Last buttons to directly access the first and last pages of the paginated control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft