asp.net.ph

PagerPosition Enumeration

System.Web.UI.WebControls Namespace


Specifies the position of the pager in a control that supports pagination.

Members


Member Name Description
Top Positions the pager at the top of the control ( default ).
Bottom Positions the pager at the bottom of the control.
TopAndBottom Positions the pager at the top and bottom of the control.

Remarks

The PagerPosition enumeration represents the possible values that can be passed to the Position property of a PagerSettings object.

Example

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

plansGrid.PagerSettings.Position = ( chkTop.Checked ) ?  
   PagerPosition.Top : PagerPosition.Bottom;

 Show me 

See Also

PagerButtons   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