HtmlForm::Name Property
.NET Framework (current version)
Gets the identifier name for the HtmlForm control.
Assembly: System.Web (in System.Web.dll)
Use the Name property to determine the unique identifier name for an HtmlForm control. In this implementation, getting this property returns the value of the UniqueID property. However, setting the property does not assign a value to the property. Setting the property does not assign a value to this property because the Name property must have the same value as the UniqueID property.
Note |
|---|
The name attribute is not an XHTML-compliant attribute and is not rendered by ASP.NET regardless of the xhtmlConformance setting. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
