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);

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also