ControlPager::GetPage Method (Int32)

 

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
int GetPage(
	int weight
)

Parameters

weight
Type: System::Int32

The weight of a control.

Return Value

Type: System::Int32

A newly assigned page index based on the weight of the control.

Controls call this method iteratively during pagination to retrieve their assigned pages.

.NET Framework
Available since 1.1
Return to top
Show: