
MobileControl | 761
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.EventArgs ➝ LoadItemsEventArgs
Passed To
LoadItemsEventHandler.{BeginInvoke( ), Invoke( )}, PagedControl.OnLoadItems( )
LoadItemsEventHandler
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, serializable
delegate
This delegate represents the method that will handle the PagedControl.LoadItems event. This
event fires when a control that uses internal pagination requires more data. You can
examine the range of data that is being requested by inspecting the LoadItemsEventArgs.
ItemIndex and LoadItemsEventArgs.ItemCount properties. You can then prepare this subset of
the data, and bind it to the appropriate control.
Associated Events
List.LoadItems( ), LiteralText.LoadItems( ), ObjectList.LoadItems( ), PagedControl.
LoadItems( ), TextView.LoadItems( )
MobileControl
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
abstract class
All mobile controls derive from the base MobileControl class (which in turn derives from
the even more basic System.Web.UI.Control class). When creating your own mobile controls,
you can derive from MobileControl or a specific mobile control class. Some of the func-
tionality added by the MobileControl class includes pagination support, basic style
settings, ...