ConnectionsZone.RaisePostBackEvent Method

Raises an event for the ConnectionsZone control when the form that contains it posts back to the server.

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

protected:
virtual void RaisePostBackEvent (
	String^ eventArgument
) override
protected void RaisePostBackEvent (
	String eventArgument
)
protected override function RaisePostBackEvent (
	eventArgument : String
)
Not applicable.

Parameters

eventArgument

A String that contains the argument data for the event.

The RaisePostBackEvent method handles the several possible outcomes that can occur when a form containing a ConnectionsZone control is posted back to the server. First, if the value of the WebPartToConnect property is a null reference (Nothing in Visual Basic), there is no further connections-related action to take, so any pending connections are canceled and the method returns. Second, if the connection user interface (UI) is actually visible and the user is in the process of creating a connection, the method handles the possible scenarios: the user clicked a connect verb, the user clicked a disconnect verb, the transformer UI is being displayed, the zone is being closed, a connection to a provider is being created, or a connection to a consumer is being created. In each case, the RaisePostBackEvent method takes the eventArgument parameter being passed and updates the ConnectionsZone control accordingly. Finally, if none of the above cases apply, the method calls the base method in the ToolZone class.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: