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.v19.1.dll

Declaration

public static void CloseAllDocuments()

Remarks

The CloseAllDocuments clears all the session parameters, including the Rich Text Editor/Spreadsheet settings. These settings are used to restore all the Rich Edit/Spreadsheet settings and return a relevant partial view in a controller action. It is recommended to avoid using the CloseAllDocuments method and close only specific documents using the documents names.

Alternatively, you can open documents by passing a document name from a controller to a partial view using the View Data collection and invoking the Open method directly in the partial view.

See Also