
794
|
Chapter 41: The System.Web.UI.MobileControls.Adapters Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) ➝
HtmlControlAdapter ➝ ChtmlCalendarAdapter
ChtmlCommandAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
This adapter renders the System.Web.UI.MobileControls.Command control to cHTML. cHTML
devices do not support JavaScript, and thus do not support the System.Web.UI.MobileControls.
CommandFormat.Link style.
Hierarchy
System.Object ➝ ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) ➝
HtmlControlAdapter ➝ HtmlCommandAdapter ➝ ChtmlCommandAdapter
ChtmlFormAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
This adapter renders the System.Web.UI.MobileControls.Form control to cHTML.
public class ChtmlCalendarAdapter : HtmlControlAdapter {
// Public Constructors
public ChtmlCalendarAdapter();
// Public Instance Properties
public override bool RequiresFormTag{get; } // overrides HtmlControlAdapter
// Protected Instance Properties
protected Calendar Control{get; }
// Public Instance Methods
public override bool HandlePostBackEvent(string eventArgument); // overrides ControlAdapter
public override void LoadAdapterState( object state); // overrides HtmlControlAdapter ...