Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxReportViewer.Report Property

Specifies the report to open.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v24.2.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.Viewer

#Declaration

[Parameter]
public IReport Report { get; set; }

#Property Value

Type Description
IReport

A report to open. You can specify an XtraReport instance or CachedReportSource instance for large documents.

#Remarks

Assign an XtraReport instance (or CachedReportSource instance for large documents) to the Report property to open a report.

The following code opens the TestReport report:

Razor
@using DevExpress.XtraReports.UI;

<DxReportViewer @ref="reportViewer" Report="reportToOpen"></DxReportViewer>

@code { 
    DxReportViewer reportViewer;
    XtraReport reportToOpen;

    // ...
    reportToOpen = new TestReport();
    // ...

}
See Also