DocumentManager.AutoSaving Event
Allows you to implement a custom autosave logic.
Namespace: DevExpress.Web.Office
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The AutoSaving event's data class is DocumentSavingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
DocumentID | Gets the document’s unique identifier. |
Handled | Gets or sets whether the event is handled manually, so no default processing is required. |
MultiUserConflict | Identifies the multi-user conflict reason. |
MultiUserConflictResolve | Gets or sets how to resolve an open document’s multi-user conflict. |
Remarks
The AutoSaving event allows you to handle auto save operations and resolve multi-user conflicts, if any.
Handle the AutoSaving event to process custom save operations triggered by the autosave timer (AutoSaveTimeout/AutoSaveTimeout).
A custom implementation is required when a control does not have enough information to complete the document save operation automatically. Such situations occur when the control is about to save a new document or a document opened from a custom document storage.