This documentation is archived and is not being maintained.

PagedControl::LoadItems Event

Occurs when a control is custom-paginated and needs more data.

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
 event LoadItemsEventHandler^ LoadItems {
	void add (LoadItemsEventHandler^ value);
	void remove (LoadItemsEventHandler^ value);
}
<asp:PagedControl OnLoadItems="LoadItemsEventHandler" />

When control is custom-paginated, you do not explicitly bind the control. After pagination, the control raises this event, indicating what part of the data is required. The application can handle this event and bind the control with the required data.

The following example shows how to use the ItemsPerPage property to render eight items of a 200-item list per page.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Show: