ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 608
نمايش فراداده

LoadItemsEventHandler.NET 1.1, serializable

System.Web.UI.MobileControls (system.web.mobile.dll)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.

public delegate void 

LoadItemsEventHandler (object

sender , LoadItemsEventArgs

e );

Associated Events

List.LoadItems( ), LiteralText.LoadItems( ), ObjectList.LoadItems( ), PagedControl.LoadItems( ), TextView.LoadItems( )