| |||||||||||
PagerSettings.Position PropertySystem.Web.UI.WebControls Namespace PagerSettings Class Sets or retrieves the vertical position of the pager element in a control that supports pagination. Syntax
Property Value
The property is read/write with a default value of Bottom. Exceptions
RemarksUse the Position property to specify the location where the pager element is displayed in a control that supports pagination, such as the GridView, DetailsView, and FormView controls. The pager element can be displayed at the upper edge, the lower edge, or at both the upper and lower edges of the grid. ExampleThe following example demonstrates how to programmatically set the PagerSettings.Position property at run time. This simple script dynamically changes the display position of the pager based on the state of a CheckBox named chkTop. plansGrid.PagerSettings.Position = ( chkTop.Checked ) ? PagerPosition.Top : PagerPosition.Bottom; See AlsoPagerSettings Members PagerPosition Enum Mode Visible |
| ||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme