| |||||||
DataGridPagerStyle.PageButtonCount PropertySystem.Web.UI.WebControls Namespace DataGridPagerStyle Class Sets or retrieves the number of link buttons to display in the pager element of a DataGrid control. Syntax
Property Value
The property is read/write with a default value of 10. RemarksUse the PageButtonCount property to specify the number of numeric link buttons to display concurrently in the pager element of a DataGrid control. The Mode property must be set to PagerMode.NumericPages for this property to have any effect. If there are more pages in the grid than specified in this property, ellipses buttons ( ... ) are displayed in the pager element. When clicked, these buttons display the next or previous set of numeric buttons. ExampleThe following example demonstrates how to set the PageButtonCount property at design time, to display five numeric page buttons concurrently in the pager element of a DataGrid. <pagerstyle ... nextpagetext = "Next" prevpagetext = "Back" pagebuttoncount=5 /> See AlsoDataGridPagerStyle Members DataGrid Class |
| ||||||
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