ControlPager.GetPage(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.
Returns a newly assigned page index based on the weight of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
int GetPage(int weight);
public int GetPage (int weight);
member this.GetPage : int -> int
Public Function GetPage (weight As Integer) As Integer
Parameters
- weight
- Int32
The weight of a control.
Returns
A newly assigned page index based on the weight of the control.
Remarks
Controls call this method iteratively during pagination to retrieve their assigned pages.