Skip to main content

Reports V2 Module

  • 2 minutes to read

Reports are widely used in business applications to present data in readable and printer-friendly formats. The Reports V2 module simplifies integrating DevExpress Reporting into XAF applications. It enables users to create, preview, print, and store user reports in the database, as well as use and manage both predefined (Visual Studio) and user-created reports.

All reports are presented by business objects in the application database, with a Reports List View to display them and various actions for managing them. Users can also select business objects and use the ShowInReport action to generate reports on selected data.

If Reports V2 does not fit certain needs, XtraReports can still be integrated manually. Refer to the following help topic for more information: Create Predefined Static Reports.

DevExpress WinForms Controls Used by the ReportsV2 Module

Examples: How to: Customize the WinForms Report Designer Form | How to: Use the Custom WinForms Report Designer | How to: Use the Custom Report Preview Form | How to Print a report without displaying a preview

DevExpress ASP.NET Core Blazor Controls Used by the ReportsV2 Module

Examples: How to: Access the Report Designer Control (Blazor) | How to: Access the Report Preview Control (ASP.NET Core Blazor) | How to Print a report without displaying a preview

Reports V2 Module Components

The Reports V2 Module consists of the following components:

Refer to the following topic to learn how to add modules to your application: Register a Built-in XAF Module

Report Data Type

Reports V2 Module stores reports as business objects that implement the IReportDataV2 interface. You should set the ReportDataType property to ReportDataV2 at application startup. In EF Core projects, you also need to add the report data type to DBContext. Refer to the following help topic for more information: Add Reports V2 Module to an Existing XAF Application.

Alternatively, you can use a custom report data type. Refer to the following help topic for more information: How to: Add a Custom Column to the Reports List.