ObjectListCommandEventArgs

ObjectListCommandEventArgs.NET 1.1

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

This custom EventArgs class defines the additional information that will be sent to methods that handle the ObjectList.ItemCommand event. This information includes the string name that identifies the ObjectListCommand (CommandName), and an ObjectListItem that represents the item on which the command was invoked (ListItem).

public class ObjectListCommandEventArgs : System.Web.UI.WebControls.CommandEventArgs { // Public Constructors    public ObjectListCommandEventArgs(ObjectListItem item, object commandSource,          System.Web.UI.WebControls.CommandEventArgs originalArgs);    public ObjectListCommandEventArgs(ObjectListItem item, string commandName); // Protected Static Fields    protected static readonly string DefaultCommand;              // =Default // Public Instance Properties    public object CommandSource{get; }    public ObjectListItem ListItem{get; } }

Hierarchy

System.Object System.EventArgs System.Web.UI.WebControls.CommandEventArgs ObjectListCommandEventArgs

Passed To

ObjectList.OnItemCommand( ), ObjectListCommandEventHandler.{BeginInvoke( ), Invoke( )}



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