Export (0) Print
Expand All

HtmlForm.ClientID Property

Gets the control identifier that is generated by ASP.NET for the HtmlForm control

Namespace:  System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public override string ClientID { get; }

Property Value

Type: System.String
The control identifier generated by ASP.NET for the HtmlForm control.

To prevent naming conflicts when multiple instances of a control are rendered, ASP.NET automatically generates a unique ClientID value for each control on a page. For more information, see the Control.ClientID property.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft