HtmlForm::ClientID Property

.NET Framework (current version)
 

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:
property String^ ClientID {
	virtual String^ get() override;
}

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
Available since 4.0
Return to top
Show: