Skip to main content

ASPxDocumentViewer.CacheReportDocument Event

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.2.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