Export (0) Print
Expand All

WebPartManager.ConnectionsActivated Event

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

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
/** @event */
public void add_ConnectionsActivated (EventHandler value)

/** @event */
public void remove_ConnectionsActivated (EventHandler value)

JScript supports the use of events, but not the declaration of new ones.

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

ADD
Show:
© 2014 Microsoft