Editar

Compartir a través de


ConnectionsZone.RaisePostBackEvent(String) Method

Definition

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

protected:
 override void RaisePostBackEvent(System::String ^ eventArgument);
protected override void RaisePostBackEvent (string eventArgument);
override this.RaisePostBackEvent : string -> unit
Protected Overrides Sub RaisePostBackEvent (eventArgument As String)

Parameters

eventArgument
String

A String that contains the argument data for the event.

Remarks

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.

Applies to

See also