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);
}
/** @event */
public void add_LoadItems (LoadItemsEventHandler value)

/** @event */
public void remove_LoadItems (LoadItemsEventHandler value)

JScript supports the use of events, but not the declaration of new ones.

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.

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

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

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show: