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();
}

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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: