ControlPager.GetItemPager(MobileControl, Int32, Int32, Int32) Method

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 System::Web::UI::MobileControls::ItemPager ^ GetItemPager(System::Web::UI::MobileControls::MobileControl ^ control, int itemCount, int itemsPerPage, int itemWeight);
public System.Web.UI.MobileControls.ItemPager GetItemPager (System.Web.UI.MobileControls.MobileControl control, int itemCount, int itemsPerPage, int itemWeight);
member this.GetItemPager : System.Web.UI.MobileControls.MobileControl * int * int * int -> System.Web.UI.MobileControls.ItemPager
Public Function GetItemPager (control As MobileControl, itemCount As Integer, itemsPerPage As Integer, itemWeight As Integer) As ItemPager

Parameters

control
MobileControl

The control to be paginated.

itemCount
Int32

The number of items in the ItemPager object.

itemsPerPage
Int32

The maximum number of items on a page.

itemWeight
Int32

The optimum weight of the ItemPager object.

Returns

The ItemPager for paginating the contents of the given control.

Applies to

See also