WebPart::OnClosing Method (EventArgs^)
.NET Framework (current version)
Enables derived classes to provide custom handling when a WebPart control is closed on a Web Parts page.
Assembly: System.Web (in System.Web.dll)
The method in the WebPart base class contains no implementation. Derived WebPart controls can override the method if needed to provide custom handling when the control is closed. The WebPartManager control automatically invokes the OnClosing method if you provide an implementation in a derived class.
.NET Framework
Available since 2.0
Available since 2.0
Show: