PagerButtons Enumeration
TOC
Collapse the table of content
Expand the table of content

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
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.

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft