Control.ClientIDSeparator Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: