Share via


OnPageChange Method (Common)

Paginates a control.

protected virtual void OnPageChange(
   System.Int32 oldPageIndex,
   System.Int32 newPageIndex
)

Parameters

  • oldPageIndex
    Contains the index number of the current page prior to pagination.
  • newPageIndex
    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.

See Also

Applies to: List Class | PagedControl Class | MobileControl Class