SP.WebParts.WebPart.isClosed Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies whether a Web Part is currently closed on a Web Part Page.
var value = SP.WebParts.WebPart.get_isClosed();
Property Value
Type: Boolean
Applies To
Remarks
If true, the Web Part is closed. Web Parts that are closed must not be displayed on the page, and must not participate normally in the rendering of the page. The default value is false.
OpenWebPart method opens the Web Part. If the current user does not have permissions to modify the Web Part, the server must ignore the call to this method.
CloseWebPart method closes the Web Part. 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.