SPWebPartManager.OnWebPartClosed Method
Handles the WebPartClosed event.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
Protected Overrides Sub OnWebPartClosed ( _
e As WebPartEventArgs _
)
'Usage
Dim e As WebPartEventArgs
Me.OnWebPartClosed(e)
protected override void OnWebPartClosed(
WebPartEventArgs e
)
Parameters
e
Type: System.Web.UI.WebControls.WebParts.WebPartEventArgsThe data for the event.
Remarks
The override is called after a WebPart control has been removed from the page the page.