Skip to main content

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

DefaultWebDocumentViewerContainer.UseReportStorageExtensionReportResolver() Method

In This Article

Registers an implementation of the IWebDocumentViewerReportResolver interface based on an existing ReportStorageWebExtension.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

NuGet Package: DevExpress.Web.Reporting.Common

#Declaration

public static void UseReportStorageExtensionReportResolver()

#Remarks

Call the UseReportStorageExtensionReportResolver method at the application startup in the Global.asax file as shown below:

using DevExpress.XtraReports.Web.WebDocumentViewer;
// ...

protected void Application_Start(object sender, System.EventArgs e) {
    // ...
    DefaultWebDocumentViewerContainer.UseReportStorageExtensionReportResolver();
}

A custom IWebDocumentViewerReportResolver implementation is used when calling the client ASPxClientWebDocumentViewer.OpenReport method and when restoring a report by its URL.

See Register Services in the Document Viewer for a complete list of available services and their registration methods.

See Also