DefaultWebDocumentViewerContainer.UseReportStorageExtensionReportResolver() Method
Registers an implementation of the IWebDocumentViewerReportResolver interface based on an existing ReportStorageWebExtension.
Namespace: DevExpress.XtraReports.Web.WebDocumentViewer
Assembly: DevExpress.XtraReports.v24.1.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
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