Control.Site Property
.NET Framework 3.0
Gets information about the container that hosts the current control when rendered on a design surface.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Property Site As ISite 'Usage Dim instance As Control Dim value As ISite value = instance.Site instance.Site = value
/** @property */ public final ISite get_Site () /** @property */ public final void set_Site (ISite value)
public final function get Site () : ISite public final function set Site (value : ISite)
Not applicable.
Property Value
An ISite that contains information about the container that the control is hosted in.| Exception type | Condition |
|---|---|
|
The control is a Substitution control. |
Community Additions
ADD
Show: