www.gibmonks.com

Main Page

  Previous Section Next Section

LoadItemsEventArgs.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This custom EventArgs class provides additional information to methods that handle the PagedControl.LoadItems event (whcih fires when a custom-paginated control requires data). This information includes the ItemIndex (which indicates the first required item), and the ItemCount (which indicates the number of required items). Your code must then prepare this subset of the data, submit it to the control by setting the DataSource property, and call the MobileControl.DataBind( ) to bind the data.

public class LoadItemsEventArgs : EventArgs {
// Public Constructors
   public LoadItemsEventArgs(int index, int count);
// Public Instance Properties
   public int ItemCount{get; }
   public int ItemIndex{get; }
}

Hierarchy

System.Object System.EventArgs LoadItemsEventArgs

Passed To

LoadItemsEventHandler.{BeginInvoke( ), Invoke( )}, PagedControl.OnLoadItems( )

      Previous Section Next Section