This documentation is archived and is not being maintained.
Control.Site Property
.NET Framework 1.1
Gets information about the Web site to which the server control belongs.
[Visual Basic] Public Overridable Property Site As ISite Implements _ IComponent.Site [C#] public virtual ISite Site {get; set;} [C++] public: __property virtual ISite* get_Site(); public: __property virtual void set_Site(ISite*); [JScript] public function get Site() : ISite; public function set Site(ISite);
Property Value
Information about the server control's Web site.
Implements
Remarks
Sites bind a Component to a Container and enable communication between them. They also provide a way for the container to manage its components.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
Control Class | Control Members | System.Web.UI Namespace | ISite
Show: