
740
|
Chapter 40: The System.Web.UI.MobileControls 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)
➝
MobileControl(System.Web.UI.IAttributeAccessor) ➝ Calendar(System.Web.UI.
IPostBackEventHandler)
Returned By
System.Web.UI.MobileControls.Adapters.ChtmlCalendarAdapter.Control, System.Web.UI.
MobileControls.Adapters.HtmlCalendarAdapter.Control, System.Web.UI.MobileControls.
Adapters.WmlCalendarAdapter.Control
Command
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
The Command control renders as a command button or a link, depending on the device.
Though the style differs depending on the device, the Text will always appear. The
Command control plays the same role as the System.Web.UI.WebControls.Button on a full-blown
web page, triggering a postback when selected and raising a server-side Click event. In
addition, the ItemCommand will fire with additional information about the command in a
System.Web.UI.WebControls.CommandEventArgs object. This information includes the System.Web.UI.
WebControls.Button.CommandName and System.Web.UI.WebControls.Button.CommandArgument properties
of the System.Web.UI.WebControls.Button. The ItemCommand ...