ConnectionsZone.WebPartToConnect Property

Note: This property is new in the .NET Framework version 2.0.

Gets the currently selected WebPart control to connect to.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

protected:
property WebPart^ WebPartToConnect {
	WebPart^ get ();
}
/** @property */
protected WebPart get_WebPartToConnect ()

protected function get WebPartToConnect () : WebPart

Property Value

A WebPart control.

When a user switches a Web page into connect display mode, and clicks the connect verb on the verbs menu of a WebPart control that is enabled for connections, the connection user interface (UI) opens, and the control is now referenced by the WebPartToConnect property.

NoteNote

The control referenced by the WebPartToConnect property gets its value from the SelectedWebPart property of the current WebPartManager object.

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

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: