MobileControl.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:
virtual void OnPageChange(int oldPageIndex, int newPageIndex);
protected virtual void OnPageChange (int oldPageIndex, int newPageIndex);
abstract member OnPageChange : int * int -> unit
override this.OnPageChange : int * int -> unit
Protected Overridable 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.
Remarks
When all the contents of a control cannot be displayed on the browsing device's screen at once, this function is called to paginate the control. The index numbers are zero-based.