Muokkaa

Jaa


HtmlFormAdapter Class

Definition

Caution

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.

Provides the form adapter class (that is, the adapter for the Form) for the HTML adapter set. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class HtmlFormAdapter : System::Web::UI::MobileControls::Adapters::HtmlControlAdapter
public class HtmlFormAdapter : System.Web.UI.MobileControls.Adapters.HtmlControlAdapter
[System.Obsolete("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.")]
public class HtmlFormAdapter : System.Web.UI.MobileControls.Adapters.HtmlControlAdapter
type HtmlFormAdapter = class
    inherit HtmlControlAdapter
[<System.Obsolete("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.")>]
type HtmlFormAdapter = class
    inherit HtmlControlAdapter
Public Class HtmlFormAdapter
Inherits HtmlControlAdapter
Inheritance
Derived
Attributes

Constructors

HtmlFormAdapter()

Creates a new instance of the HtmlFormAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

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 Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)

Methods

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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
DisablePager()

Disables the pager user interface (UI) for the current request. Can be called by an adapter to prevent pagination UI from being generated.

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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HandlePostBackEvent(String)

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
LoadAdapterState(Object)

Loads the view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
OnPreRender(EventArgs)

Called by the control's OnPreRender(EventArgs) method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderAsHiddenInputField(HtmlMobileTextWriter)

Renders hidden field text for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderBodyTag(HtmlMobileTextWriter, IDictionary)

Renders the <body> tag. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderChildren(HtmlTextWriter)

Renders children of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderExtraHeadElements(HtmlMobileTextWriter)

Renders any additional content within the <head> and </ head> tags of the HTML page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderPager(HtmlMobileTextWriter)

Renders the pager user interface (UI) for the form. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderPagerTag(HtmlMobileTextWriter, Int32, String)

Renders a pager tag on paginated forms. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderPostBackEventReference(HtmlMobileTextWriter, String)

Renders a postback event reference. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
ShouldRenderFormTag()

Returns whether to render a form tag. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also