ClientIDSeparator Property
.NET Framework Class Library
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)
Visual Basic (Declaration)
Protected ReadOnly Property ClientIDSeparator As Char
Visual Basic (Usage)
Dim value As Char

value = Me.ClientIDSeparator
C#
protected char ClientIDSeparator { get; }
Visual C++
protected:
property wchar_t ClientIDSeparator {
    wchar_t get ();
}
JScript
protected function get ClientIDSeparator () : char

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 (_).

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker