LoadItemsEventArgs

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( )



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net