WebPartManager.OnConnectionsActivating Method

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

Raises the ConnectionsActivating event to indicate that a page and its controls have loaded, and the process of activating connections can begin.

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

protected:
virtual void OnConnectionsActivating (
	EventArgs^ e
)
protected void OnConnectionsActivating (
	EventArgs e
)
protected function OnConnectionsActivating (
	e : EventArgs
)

Parameters

e

An EventArgs that contains the event data.

The OnConnectionsActivating method raises the ConnectionsActivating event, which provides developers with a mechanism for programmatically customizing the process of activating connections.

Page developers can add a custom handler for the event by adding an OnConnectionsActivating 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 OnConnectionsActivating method in a derived WebPartManager class.

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: