Skip to main content
A newer version of this page is available. .

DocumentManager.CloseAllDocuments() Method

Closes all open documents.

Namespace: DevExpress.Web.Office

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public static void CloseAllDocuments()

Remarks

The CloseAllDocuments method closes all open documents and clears all the session parameters, including the Rich Text Editor/Spreadsheet settings.

We recommend that you use the CloseDocument(String) method to close only specific documents specified by the document names.

Note

The CloseAllDocuments method is not in effect when a custom StateProvider is used.

See Also