List.OnPageChange(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Paginates a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
override void OnPageChange(int oldPageIndex, int newPageIndex);
protected override void OnPageChange (int oldPageIndex, int newPageIndex);
override this.OnPageChange : int * int -> unit
Protected Overrides Sub OnPageChange (oldPageIndex As Integer, newPageIndex As Integer)
Parameters
- oldPageIndex
- Int32
Contains the index number of the current page prior to pagination.
- newPageIndex
- Int32
Contains the index number of the current page after pagination.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.