Export (0) Print
Expand All
Expand Minimize

WebPartManager.ActivateConnections Method

Makes active all connections on a Web page that are currently inactive.

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

protected virtual void ActivateConnections()

The ActivateConnections method is called on each request to a page to activate existing connections between WebPart and other server controls residing in WebPartZoneBase zones. In some cases, for instance if there is a conflict in the connections being activated, this method in turn calls the DisconnectWebPart method to end the problematic connection. During the disconnection process the WebPartsDisconnecting event is raised. Normally developers can cancel this event, but in the case where this is a conflict among the connections it cannot be cancelled, because the WebPartManager control needs to resolve the conflict in order to finish the process of activating connections. For details, see WebPartsDisconnecting event.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft