Saves the active document in its original format at its original location.
NuGet Package: DevExpress.Web.Office
Call the Save method to initiate a save operation for the active document. The method invokes the Saving event, which allows you to implement custom saving logic. If you do not handle the event (the e.Handled property is not set to
true), the control processes the document in the following ways:
- If a document is opened from the server’s local file system, the control overwrites the original document file.
- If a document is new (DocumentId is not specified), or a document was opened from a custom document storage, the control throws an exception. Handle the Saving event to implement custom saving logic.
- If the save operation causes a conflict, the control throws an exception. Handle the Saving event to resolve conflicts.