ConnectionsZone.WebPartToConnect Property

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

Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: