WebPartManager.OnConnectionsActivated Method (EventArgs)

 

Raises the ConnectionsActivated event to indicate that a page and its controls are loaded, and connections on the page have been activated to begin sharing data.

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

protected virtual void OnConnectionsActivated(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs that contains the event data.

The OnConnectionsActivated method raises the ConnectionsActivated event after a page has completed the loading process. The method provides a way to add a handler for the event.

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

Notes to Inheritors:

Developers can override the OnConnectionsActivated method in a derived WebPartManager class.

.NET Framework
Available since 2.0
Return to top
Show: