ControlPager::GetItemPager Method (MobileControl^, Int32, Int32, Int32)
.NET Framework (current version)
Creates and returns an ItemPager object for paginating the contents of the given control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: ItemPager^ GetItemPager( MobileControl^ control, int itemCount, int itemsPerPage, int itemWeight )
Parameters
- control
-
Type:
System.Web.UI.MobileControls::MobileControl^
The control to be paginated.
- itemCount
-
Type:
System::Int32
The number of items in the ItemPager object.
- itemsPerPage
-
Type:
System::Int32
The maximum number of items on a page.
- itemWeight
-
Type:
System::Int32
The optimum weight of the ItemPager object.
Return Value
Type: System.Web.UI.MobileControls::ItemPager^The ItemPager for paginating the contents of the given control.
.NET Framework
Available since 1.1
Available since 1.1
ControlPager Class
System.Web.UI.MobileControls Namespace
Developing Mobile Web Pages
Show: