Edit

Share via


HtmlControlAdapter.RequiresFormTag Property

Definition

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.

public:
 virtual property bool RequiresFormTag { bool get(); };
public virtual bool RequiresFormTag { get; }
member this.RequiresFormTag : bool
Public Overridable ReadOnly Property RequiresFormTag As Boolean

Property Value

true if the adapter generates markup that requires <Form> tags for form submission; otherwise, false.

Remarks

This property is used by the ChtmlFormAdapter class to determine whether the form tag is needed in the resulting markup. Currently, only the settings on cHTML adapters are recognized. However, you can use this property to provide your own rendering in your adapters.

Applies to

See also