SPLimitedWebPartManager.OpenWebPart Method
Opens a dynamic Web Part that was previously closed by CloseWebPart so it renders on the WebPartPage.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub OpenWebPart ( _
webPart As WebPart _
)
'Usage
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
instance.OpenWebPart(webPart)
public void OpenWebPart(
WebPart webPart
)
Parameters
- webPart
Type: System.Web.UI.WebControls.WebParts.WebPart