Edit

Share via


ControlPager.GetPage(Int32) Method

Definition

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