Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

.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.

Community Additions

ADD
Show:
© 2015 Microsoft