HtmlControlAdapter Class
Provides the control adapter base class for the HTML adapter set. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
System.Web.UI.MobileControls.Adapters::ControlAdapter
System.Web.UI.MobileControls.Adapters::HtmlControlAdapter
System.Web.UI.MobileControls.Adapters::ChtmlCalendarAdapter
System.Web.UI.MobileControls.Adapters::HtmlCalendarAdapter
System.Web.UI.MobileControls.Adapters::HtmlCommandAdapter
System.Web.UI.MobileControls.Adapters::HtmlFormAdapter
System.Web.UI.MobileControls.Adapters::HtmlImageAdapter
System.Web.UI.MobileControls.Adapters::HtmlLabelAdapter
System.Web.UI.MobileControls.Adapters::HtmlLinkAdapter
System.Web.UI.MobileControls.Adapters::HtmlListAdapter
System.Web.UI.MobileControls.Adapters::HtmlLiteralTextAdapter
System.Web.UI.MobileControls.Adapters::HtmlObjectListAdapter
System.Web.UI.MobileControls.Adapters::HtmlPageAdapter
System.Web.UI.MobileControls.Adapters::HtmlPanelAdapter
System.Web.UI.MobileControls.Adapters::HtmlPhoneCallAdapter
System.Web.UI.MobileControls.Adapters::HtmlSelectionListAdapter
System.Web.UI.MobileControls.Adapters::HtmlTextBoxAdapter
System.Web.UI.MobileControls.Adapters::HtmlTextViewAdapter
System.Web.UI.MobileControls.Adapters::HtmlValidationSummaryAdapter
System.Web.UI.MobileControls.Adapters::HtmlValidatorAdapter
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class HtmlControlAdapter : ControlAdapter
| Name | Description | |
|---|---|---|
![]() | HtmlControlAdapter() | Creates a new instance of the HtmlControlAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() | Control | Returns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | Device | Returns the device capabilities object associated with the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | FormAdapter | Retrieves the form adapter for the form on which the associated control resides. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | ItemWeight | Accesses the approximate weight of a single item in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | Page | Returns the page associated with the device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | PageAdapter | Returns the page adapter for the mobile page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RequiresFormTag | Gets a value indicating whether an adapter, such as the ChtmlCommandAdapter class, generates markup that requires <Form> tags for form submission. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | SecondaryUIMode | Sets or returns the secondary user interface (UI) mode for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Style | Returns the style object associated with the control to which the device adapter is attached. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | VisibleWeight | Gets or sets the approximate weight of the control, in characters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
| Name | Description | |
|---|---|---|
![]() | AddAccesskeyAttribute(HtmlMobileTextWriter^) | Writes a custom attribute access key method, provided that the device supports the attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | AddAttributes(HtmlMobileTextWriter^) | Writes additional attributes that are specific to an adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter^) | Use this method to write custom attributes for J-Phone multimedia attributes. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | CalculateOptimumPageWeight(Int32) | Determines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | CreateTemplatedUI(Boolean) | Called by a control to create a templated user interface (UI). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | ExitSecondaryUIMode() | Exits any secondary user interface (UI) mode for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetDefaultLabel(Int32) | Returns the localized default string for the label control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | HandlePostBackEvent(String^) | Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | LoadAdapterState(Object^) | Loads the view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides ControlAdapter::LoadAdapterState(Object^).) |
![]() | LoadPostData(String^, NameValueCollection^, Object^, Boolean%) | Returns true if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | MemberwiseClone() | |
![]() | OnInit(EventArgs^) | Called after an object, such as a form or a page, is initialized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | OnLoad(EventArgs^) | Loads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | OnPreRender(EventArgs^) | Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | OnUnload(EventArgs^) | Unloads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | Render(HtmlMobileTextWriter^) | Called by the control's Render method to perform rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Render(HtmlTextWriter^) | Called by the control's Render method to perform rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides ControlAdapter::Render(HtmlTextWriter^).) |
![]() | RenderAsHiddenInputField(HtmlMobileTextWriter^) | Renders hidden field text for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RenderBeginLink(HtmlMobileTextWriter^, String^) | Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RenderChildren(HtmlTextWriter^) | Renders children of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.) |
![]() | RenderEndLink(HtmlMobileTextWriter^) | Renders the end tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RenderPostBackEventAsAnchor(HtmlMobileTextWriter^, String^, String^) | Renders a postback event as an anchor, with the text specified by the linkText parameter as a label. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RenderPostBackEventAsAttribute(HtmlMobileTextWriter^, String^, String^) | Renders a postback event as an attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RenderPostBackEventReference(HtmlMobileTextWriter^, String^) | Renders a postback event reference. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | SaveAdapterState() | This method is called when the control saves its private view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides ControlAdapter::SaveAdapterState().) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | NotSecondaryUI | Returns a constant that defines a mode where no secondary user interface (UI) is displayed. This field is read-only. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
System.Web.UI.MobileControls.Adapters Namespace
Architectural Overview of Adaptive Control Behavior
Adapter Sets Functionality
Control and Adapter Interaction





