ClientID Property
Collapse the table of content
Expand the table of content

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

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

© 2016 Microsoft