| |||||||||||
DataGridPageChangedEventArgs.NewPageIndex PropertySystem.Web.UI.WebControls Namespace DataGridPageChangedEventArgs Class Returns the index of the page selected by the user in the page selection element of a DataGrid. Syntax
Property Value
The property is read only with no default value. RemarksUse the NewPageIndex property to determine the index of the page selected by the user in the page selection element of the DataGrid control. This value is often used to set the CurrentPageIndex property of the grid to display the selected page. ExampleThe following examples demonstrate how to use the NewPageIndex property to determine the index of the page selected by the user, the value of which is then used to set the CurrentPageIndex property of the DataGrid to display the selected page.
See AlsoDataGridPageChangedEventArgs 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