Skip to main content
All docs
V23.2

WebDocumentViewerOperationLogger.ReportOpeningAsync(String, String, String, XtraReport, CachedReportSourceWeb) Method

Asynchronous method that is called when the Document Viewer loads a report. Allows you to modify a report before it is loaded.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v23.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public virtual Task ReportOpeningAsync(
    string reportId,
    string reportUrl,
    string documentId,
    XtraReport report,
    CachedReportSourceWeb cachedReportSource
)

Parameters

Name Type Description
reportId String

A String value that identifies the report.

reportUrl String

A String value that specifies the report name that can be resolved to a report instance.

documentId String

A String value that identifies the report document.

report XtraReport

An XtraReport object that is the current report being loaded.

cachedReportSource CachedReportSourceWeb

A CachedReportSourceWeb object that is a mediator between a report and a Web Document Viewer. It creates a report document and caches each generated page to a storage.

Returns

Type Description
Task

A Task.

See Also