| |||||||
PagerMode EnumerationSystem.Web.UI.WebControls Namespace Specifies the behavior mode of the pager in a DataGrid control. Members
RemarksThe PagerMode enumeration represents the different display values that can be passed to the Mode property of a DataGridPagerStyle object. ExampleThe following example demonstrates how to programmatically set the DataGridPagerStyle.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. if ( chkNumbers.Checked ) myGrid.PagerSettings.Mode = PagerMode.NumericPages; else myGrid.PagerSettings.Mode = PagerMode.NextPrev; See AlsoPagerPosition DataGridPagerStyle |
| ||||||
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