Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebPartManager.ConnectionsActivating Event

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

Occurs during the process of activating all the established Web Parts connections on a Web page.

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

public event EventHandler ConnectionsActivating
/** @event */
public void add_ConnectionsActivating (EventHandler value)

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

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

In the life cycle of connections, this event occurs as a page is completing its loading process, just before the ActivateConnections method is called. It is different from the WebPartsConnecting event, which involves a particular connection between WebPart or other server controls. The ConnectionsActivating event occurs when all the possible connections on a page have been connected and are about to be activated.

The ConnectionsActivating event is associated with the OnConnectionsActivating method, which raises the event. Control developers who want to extend the type of connections that can be added to a page could override the protected OnConnectionsActivating method and activate additional types of connections.

Page developers can create a custom handler for the event by adding the OnConnectionsActivating 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.