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.

C#
public virtual bool RequiresFormTag { get; }

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

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also