Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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