HtmlForm.ClientID Property

Definition

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

public:
 virtual property System::String ^ ClientID { System::String ^ get(); };
public override string ClientID { get; }
member this.ClientID : string
Public Overrides ReadOnly Property ClientID As String

Property Value

The control identifier generated by ASP.NET for the HtmlForm control.

Remarks

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.

Applies to

See also