Set the given items per page to the given data source. The data source may be a NavigationDataSource. This pager's ItemsType must be Records or AggregateRecords.

Namespace:  Endeca.Web.UI.WebControls
Assembly:  Endeca.Web.UI.WebControls (in Endeca.Web.UI.WebControls.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
protected virtual void SetItemsPerPage(
	IDataSource ds,
	int itemsPerPage
)
Visual Basic (Declaration)
Protected Overridable Sub SetItemsPerPage ( _
	ds As IDataSource, _
	itemsPerPage As Integer _
)
Visual C++
protected:
virtual void SetItemsPerPage(
	IDataSource^ ds, 
	int itemsPerPage
)

Parameters

ds
Type: System.Web.UI..::.IDataSource
itemsPerPage
Type: System..::.Int32

See Also