ReportsAspNetModuleV2.ReportViewerType Property
Specifies the Report Viewer type to be used in an ASP.NET Web Forms application.
Namespace: DevExpress.ExpressApp.ReportsV2.Web
Assembly: DevExpress.ExpressApp.ReportsV2.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2.Web
Declaration
[DefaultValue(ReportViewerTypes.ASP)]
public ReportViewerTypes ReportViewerType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ReportViewerTypes | ASP | A ReportViewerTypes enumeration value that specifies the Report Viewer type. |
Available values:
Name | Description |
---|---|
ASP | The ASP.NET Document Viewer is used. |
HTML5 | The HTML5 Document Viewer is used. |
Remarks
You can use either ASP.NET or HTML5 Document Viewer to preview reports in ASP.NET Web Forms XAF applications. To choose an appropriate variant, set the ReportViewerType property either to ASP or HTML5, respectively.
Important
In v19.1, the ASP.NET Document Viewer has become deprecated. We recommend that you use the HTML5 Document Viewer in your applications. For this, set the ReportViewerType
property to HTML5.
In a new XAF solution created using the Solution Wizard, this property is set to HTML5, by default.
Important
The HTML5 Report Viewer does not use ASP.NET editors for its report parameters. As such, the ReportViewerDetailItem.CustomizeParameterEditors event is not used when you set ReportViewerType to HTML5.