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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for