Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
Closes the Web Part.
SP.WebParts.WebPartDefinition.closeWebPart();
Applies To
SP.WebParts.WebPartDefinition Class
Remarks
If the Web Part is already closed, this method does nothing. If the current user does not have permissions to modify the Web Part, the server must ignore the call to this method.
OpenWebPart method opens the Web Part. If the Web Part is already open, this method does nothing. If the current user does not have permissions to modify the Web Part, the server must ignore the call to this method.
See Also
Reference
SP.WebParts.WebPartDefinition Methods