This documentation is archived and is not being maintained.

HtmlControlAdapter.RequiresFormTag Property

Gets a value indicating whether an adapter, such as the ChtmlCommandAdapter class, generates markup that requires <Form> tags for form submission.

Namespace: System.Web.UI.MobileControls.Adapters
Assembly: System.Web.Mobile (in

public virtual bool RequiresFormTag { get; }
/** @property */
public boolean get_RequiresFormTag ()

public function get RequiresFormTag () : boolean

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1