Skip to main content
A newer version of this page is available. .

ReportViewer.RestoreReportDocumentFromCache Event

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll

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