System.Web.UI.Control.Site Property

Gets information about the container that hosts the current control when rendered on a design surface.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public System.ComponentModel.ISite Site { set; get; }

Value

a System.ComponentModel.ISite

Remarks

A site binds a System.ComponentModel.Component object to a System.ComponentModel.Container object and enables communication between the two. It also provides a way for the container to manage its components.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0