Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
  • The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ReportsAspNetModuleV2.ReportViewerType Property

Specifies the Report Viewer type to be used in an ASP.NET application.

Namespace: DevExpress.ExpressApp.ReportsV2.Web

Assembly: DevExpress.ExpressApp.ReportsV2.Web.v20.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 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.

ReportV2_Web_ReportViewerType

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 WebForms editors for its report parameters. As such, the ReportViewerDetailItem.CustomizeParameterEditors event is not used when you set ReportViewerType to HTML5.

See Also