System.Web.UI.WebControls.PagerButtons Enumeration

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

Syntax

public enum PagerButtons

Remarks

The System.Web.UI.WebControls.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 PagerSettings.Mode property to specify the type of navigation buttons to display in controls that use the System.Web.UI.WebControls.PagerSettings class, such as System.Web.UI.WebControls.GridView and System.Web.UI.WebControls.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.

Members

Member NameDescription
NextPrevious

A set of pagination controls consisting of Previous and Next buttons.

NextPreviousFirstLast

A set of pagination controls consisting of Previous, Next, First, and Last buttons.

Numeric

A set of pagination controls consisting of numbered link buttons to access pages directly.

NumericFirstLast

A set of pagination controls consisting of numbered and First and Last link buttons.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0