Share via


GetItemPager Method

Creates and returns an ItemPager object for paginating the contents of the given control.

public System.Web.UI.MobileControls.ItemPager GetItemPager(
   MobileControl control,
   int itemCount,
   int itemsPerPage,
   int itemWeight
)

Parameters

  • control
    The control to be paginated.
  • itemCount
    The number of items in the ItemPager object.
  • itemsPerPage
    The maximum number of items on a page
  • itemWeight
    The optimum weight of the ItemPager object.

See Also

Applies to: ControlPager Class