Export (0) Print
Expand All
Expand Minimize

PagerButtons Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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
public enum PagerButtons
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.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft