Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same
System.Web.UI.Control.ID property value.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Property NamingContainer As System.Web.UI.Control |
| C# | |
|---|
public System.Web.UI.Control NamingContainer {get;} |
Property Value
The server control's naming container.
Requirements
Target Platforms: 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
See Also