asp.net.ph

PagerButtons Enumeration

System.Web.UI.WebControls Namespace


Specifies the types of buttons to display for navigating between pages of content in controls that support pagination.

Members


Member Name Description
NextPrevious Renders a set of pagination controls consisting of Previous and Next buttons.
NextPreviousFirstLast Renders a set of pagination controls consisting of Previous, Next, First, and Last buttons.
Numeric Renders a set of pagination controls consisting of numbered link buttons to access pages directly.
NumericFirstLast Renders a set of pagination controls consisting of numbered and First and Last link buttons.

Remarks

The PagerButtons enumeration represents the different display values that can be passed to the Mode property of a PagerSettings object.

Example

The following example demonstrates how to programmatically set the PagerSettings.Mode property at run time. This simple script dynamically changes the display mode of the pager based on the state of a CheckBox named chkNumbers.

plansGrid.PagerSettings.Mode = ( chkNumbers.Checked ) ?  
   PagerButtons.Numeric : PagerButtons.NextPrevious;

 Show me 

See Also

PagerPosition   PagerSettings Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph