ConnectionsZone::RaisePostBackEvent Method (String^)

 

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

Parameters

eventArgument
Type: System::String^

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 null, 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.

.NET Framework
Available since 2.0
Return to top
Show: