This documentation is archived and is not being maintained.

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, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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