WebPartManager.ActivateConnections Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes active all connections on a Web page that are currently inactive.
protected:
virtual void ActivateConnections();
protected virtual void ActivateConnections ();
abstract member ActivateConnections : unit -> unit
override this.ActivateConnections : unit -> unit
Protected Overridable Sub ActivateConnections ()
Remarks
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.