Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft