Skip to main content

ReportViewer.CacheReportDocument Event

Occurs when a report document is created, and it’s possible to store it to the cache.

Namespace: DevExpress.XtraReports.Web

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

NuGet Package: DevExpress.Web.Reporting

Declaration

public event CacheReportDocumentEventHandler CacheReportDocument

Event Data

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

Property Description
Key Gets or sets a string value, which represents a unique key used when storing a report document to the cache.

The event data class exposes the following methods:

Method Description
SaveDocumentToFile(String) Saves the current document to the specified file.
SaveDocumentToMemoryStream() Saves the current document to a memory stream.
SaveExportOptionsToFile(String) Saves the current report’s export options to the specified file.
SaveExportOptionsToMemoryStream() Saves the current report’s export options to a memory stream.
SaveExportOptionsToStream(Stream) Saves the current report’s export options to the specified stream.
See Also