
HtmlControlAdapter | 799
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 ➝ HtmlCalendarAdapter
HtmlCommandAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
This adapter renders the System.Web.UI.MobileControls.Command control to HTML.
Hierarchy
System.Object ➝ ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) ➝
HtmlControlAdapter ➝ HtmlCommandAdapter
Subclasses
ChtmlCommandAdapter
HtmlControlAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
All HTML-specific control adapters (which render HTML 3.2 with no client-side
script) derive from this base class. It overrides the basic functionality defined in the
ControlAdapter class to add HTML-specific support for hyperlinks, and to ensure that the
FormAdapter property references a valid HtmlFormAdapter.
public class HtmlCalendarAdapter : HtmlControlAdapter {
// Public Constructors
public HtmlCalendarAdapter();
// Protected Instance Properties
protected Calendar Control{get; }
// Public Instance Methods
public override void Render( HtmlMobileTextWriter writer); // overrides HtmlControlAdapter
}
public class HtmlCommandAdapter : HtmlControlAdapter {
// Public Constructors
public HtmlCommandAdapter ...