Control.ClientIDSeparator Property


Gets a character value representing the separator character used in the ClientID property.

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

protected char ClientIDSeparator { get; }

Property Value

Type: System.Char

Always returns the underscore character (_).

The ClientID value is generated by concatenating the ID value of the control and the UniqueID value of its parent control. Each part of the generated ID property is separated by the ClientIDSeparator property value. The value always returns an underscore (_).

.NET Framework
Available since 2.0
Return to top