DefaultWebDocumentViewerContainer.UseReportStorageExtensionReportResolver() Method

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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


public static void UseReportStorageExtensionReportResolver()


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) {
    // ...

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