TypeNameBasedReportResolver Class
Resolves reports to display in the Web Document Viewer from a report storage or based on report type names.
Namespace: DevExpress.XtraReports.Web.WebDocumentViewer
Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll
Declaration
Remarks
For security reasons, the default report resolver does not resolve reports by their type names.
The TypeNameBasedReportResolver class tries to open a report from a report storage or based on the report’s type name if a storage is not registered.
To skip security considerations and allow the Document Viewer to open reports by type names, register the TypeNameBasedReportResolver class at the application’s startup as shown below:
using DevExpress.XtraReports.Web.WebDocumentViewer;
// ...
DefaultWebDocumentViewerContainer.RegisterSingleton<IWebDocumentViewerReportResolver, TypeNameBasedReportResolver>();
Implements
Inheritance
Object
TypeNameBasedReportResolver
See Also