ASPxSpreadsheet.Open(SpreadsheetDocumentInfo) Method
Activates a previously opened document.
Namespace: DevExpress.Web.ASPxSpreadsheet
Assembly: DevExpress.Web.ASPxSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Web.Office
Declaration
Parameters
Name | Type | Description |
---|---|---|
documentInfo | SpreadsheetDocumentInfo | An object that contains information about the document to open. |
Remarks
Call this Open method to activate a previously opened document.
var documentInfo = (SpreadsheetDocumentInfo)DocumentManager.FindDocument("myDocumentId");
ASPxSpreadsheet1.Open(documentInfo);
Note
We recommend that you do not use the LoadDocument method to open a document. When you call this method, the ASPxSpreadsheet does not receive information about the opened document and cannot work with it correctly.
See Also