This documentation is archived and is not being maintained.

WebPartManager.ConnectionsActivated Event

Occurs after all the current Web Parts connections on a page are not only connected, but have also begun actively sharing data between the consumer and provider controls involved in each connection.

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

public event EventHandler ConnectionsActivated
<asp:WebPartManager OnConnectionsActivated="EventHandler" />

In the life cycle of connections, this event occurs after a page completes its loading process. It also occurs after the WebPartsConnected event, which indicates only that the WebPart or server controls involved in a specific connection have successfully connected. In a case where there are multiple connections on a page, the ConnectionsActivated method indicates that all the valid Web Parts connections on a page are now active and able to share data. Knowing that all connections are active, developers can carry out any number of tasks, including notifying users of the status of all the connections, notifying consumer controls to process and display data from their providers, and so on.

This event is associated with the OnConnectionsActivated method, which raises the event and allows developers to create custom handlers for the event.

Page developers can create a custom handler for the event by adding the OnConnectionsActivated attribute to the <asp:webpartmanager> element in the page, and then assigning a custom method name to the attribute.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0