
836
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
WebControl(System.Web.UI.IAttributeAccessor) ➝ ListControl ➝ CheckBoxList(IRepeatIn-
foUser, System.Web.UI.INamingContainer, System.Web.UI.IPostBackDataHandler)
CommandEventArgs
System.Web.UI.WebControls (system.web.dll)
class
This class is used by the CommandEventHandler to provide extra information to a Command
event handler. This information is stored in two properties: CommandName and CommandAr-
gument, which are both strings. These properties are used only by your code, and can
thus be used to store any information you need. For example, you might set Command-
Name to “Sort” and CommandArgument to “Ascending.”
Hierarchy
System.Object ➝ System.EventArgs ➝ CommandEventArgs
Subclasses
DataGridCommandEventArgs, DataListCommandEventArgs, RepeaterCommandEventArgs,
System.Web.UI.MobileControls.{ListCommandEventArgs, ObjectListCommandEventArgs}
Passed To
System.Web.UI.MobileControls.Command.OnItemCommand( ), System.Web.UI.MobileCon-
trols.ListCommandEventArgs.ListCommandEventArgs( ), System.Web.UI.MobileControls.
ObjectListCommandEventArgs.ObjectListCommandEventArgs( ...