The requested page is not available for the requested platform. You are viewing the content for Default platform.

DefaultWebDocumentViewerContainer.UseReportStorageExtensionReportResolver() Method

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

Declaration

public static void UseReportStorageExtensionReportResolver()
Public Shared Sub 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