PagerButtons Enumeration
Specifies the types of buttons to display for navigating between pages of content in a paginated control.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| NextPrevious | A set of pagination controls consisting of Previous and Next buttons. | |
| Numeric | A set of pagination controls consisting of numbered link buttons to access pages directly. | |
| NextPreviousFirstLast | A set of pagination controls consisting of Previous, Next, First, and Last buttons. | |
| NumericFirstLast | A 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.