ConnectionsZone.OnSelectedWebPartChanged(Object, WebPartEventArgs) Method

Definition

Raises the SelectedWebPartChanged event.

protected:
 override void OnSelectedWebPartChanged(System::Object ^ sender, System::Web::UI::WebControls::WebParts::WebPartEventArgs ^ e);
protected override void OnSelectedWebPartChanged (object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e);
override this.OnSelectedWebPartChanged : obj * System.Web.UI.WebControls.WebParts.WebPartEventArgs -> unit
Protected Overrides Sub OnSelectedWebPartChanged (sender As Object, e As WebPartEventArgs)

Parameters

sender
Object

An Object that identifies the sender of the event.

e
WebPartEventArgs

A WebPartEventArgs that contains the event data.

Remarks

This method overrides the ToolZone implementation to reset the connection user interface (UI) for the fact that the child controls will have to be recreated. This is necessary because, when the selected control changes, several options in the connection UI will change, depending on whether the selected control is a consumer or provider, what connection points the controls has (the connection points are listed in drop-down list controls), and other details.

Applies to

See also