ActivateConnections Method
Collapse the table of content
Expand the table of content

WebPartManager.ActivateConnections Method

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

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 ()
protected void ActivateConnections ()
protected function 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.

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

© 2015 Microsoft