Skip to main content

ASPxDocumentViewer.RestoreReportDocumentFromCache Event

Occurs when an ASPxDocumentViewer requires a report for display, and it’s possible to restore an existing report document from the cache.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public event RestoreReportDocumentFromCacheEventHandler RestoreReportDocumentFromCache

Event Data

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

Property Description
Key Gets a string value, which represents a unique key used when retrieving a report document from the cache.

The event data class exposes the following methods:

Method Description
RestoreDocumentFromFile(String) Loads a report document from the specified file.
RestoreDocumentFromStream(Stream, Boolean) For internal use.
RestoreDocumentFromStream(Stream) Loads a report document from the specified stream.
RestoreExportOptionsFromFile(String) Loads export options from the specified file.
RestoreExportOptionsFromStream(Stream) Loads export options from the specified stream.
See Also