Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportDesignerDocument.SaveFailed Event

Occurs when the attempt to save a report displayed in the current designer document fails.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

#Event Data

The SaveFailed event's data class is ReportDesignerDocumentSaveFailedEventArgs. The following properties provide information specific to this event:

Property Description
Document Gets the report document currently being processed. Inherited from ReportDesignerDocumentOperationFailedEventArgs.
ErrorMessage Gets or sets an error description displayed within an error message box. Inherited from OperationFailedEventArgs.
Exception Gets an exception that raised the corresponding event. Inherited from OperationFailedEventArgs.
Rethrow Gets or sets a value that specifies whether to throw an exception on a failure. Inherited from OperationFailedEventArgs.
ShowErrorMessage Gets or sets a value that specifies whether to display an error message box. Inherited from OperationFailedEventArgs.
ShowSaveFileDialogToSelectNewStorage Gets or sets a value that specifies whether to invoke the Save File dialog to select another storage for saving a report.
Storage Gets the storage that raised the event.

#Remarks

Handle the SaveFailed event to respond to the failure of saving a report displayed in the current designer document to a storage.

Use the Exception property of the event parameter to get the exception that caused the failure. Enable the ShowSaveFileDialogToSelectNewStorage property to invoke the Save File dialog to select another storage for saving the report. The event parameter’s properties also allow you to specify the error description, whether to show the error message, etc.

See Also