ConnectionsZone::OnSelectedWebPartChanged Method (Object^, WebPartEventArgs^)
.NET Framework (current version)
Raises the SelectedWebPartChanged event.
Assembly: System.Web (in System.Web.dll)
protected: virtual void OnSelectedWebPartChanged( Object^ sender, WebPartEventArgs^ e ) override
Parameters
- sender
-
Type:
System::Object^
An Object that identifies the sender of the event.
- e
-
Type:
System.Web.UI.WebControls.WebParts::WebPartEventArgs^
A WebPartEventArgs that contains the event data.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: