[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Collapse]Concepts
  [Expand]Application Solution Components
  [Expand]Business Model Design
  [Expand]Application Model
  [Expand]UI Construction
  [Expand]Controllers and Actions
  [Expand]Data Manipulation and Business Logic
  [Expand]Security System
  [Expand]Localization
  [Expand]System Module
  [Collapse]Extra Modules
   [Expand]Audit Trail Module
    Business Class Library Customization Module
    Chart Module
    Clone Object Module
   [Expand]Conditional Appearance Module
   [Expand]Dashboards Module
    File Attachments Module
    HTML Property Editor Module
    Localization Module
   [Expand]Notifications Module
    KPI Module
   [Expand]Maps Module
   [Expand]Pivot Chart Module
    Pivot Grid Module
   [Collapse]Reports V2 Module
     Reports V2 Module Overview
     Create Predefined Static Reports
     Create and View Reports in a WinForms Application
     Create and View Reports in an ASP.NET Application
     Invoke the Report Preview from Code
     Modify an Existing Report
     Grid Based Reporting in WinForms Applications
     Data Sources for Reports V2
     Data Filtering in Reports V2
     Data Sorting in Reports V2
     In-Place Reports
   [Expand]Office Module
   [Expand]Scheduler Module
    Script Recorder Module
   [Expand]State Machine Module
   [Expand]TreeList Editors Module
   [Expand]Validation Module
    View Variants Module
   [Expand]Workflow Module
  [Expand]Debugging, Testing and Error Handling
  [Expand]Filtering
  [Expand]Application Life Cycle
 [Expand]Design-Time Features
 [Expand]Deployment
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Reports V2 Module Overview

Reports are widely used in business applications to present data in human-readable and printer-friendly formats. The Reports V2 module is introduced to simplify the integration of DevExpress Reporting into XAF applications. Note that WinForms and ASP.NET XAF applications are standard .NET applications, and the approaches described in the GUI and Web Reporting tutorials are fully applicable, but you need to create a user interface for reports access and implement a storage for user-defined reports manually. The Reports V2 module provides ready-to-use solutions for these tasks, which cover the most popular scenarios.

With the Reports V2 module, reports are represented by business objects that are stored with other persistent objects in the application database. A list of included reports (both predefined in Visual Studio and added by end-users) is displayed in the Reports List View, which can be invoked from the Reports navigation item. The Reports View is accompanied by the Actions used to manage reports (create, design, print, copy, etc.). Reports can also be executed from a business object context - you can select several objects and then use the ShowInReport Action to display these objects in a report.

Note

If the solutions provided by the Reports V2 module are not applicable in your particular scenario, feel free to integrate XtraReports in a custom way (see How to: Show an XtraReport created at design time, without the use of XAF Reports module).

Expanded Reports V2 Capabilities

WinForms and ASP.NET specific module

  • Create, preview and print end-user reports at runtime and persist these reports in the database.
  • Preview and print predefined reports designed by the developer in Visual Studio.
  • Use predefined reports as templates for creating end-user reports.

Mobile specific module

Preview and save on mobile device predefined reports designed by the developer in Visual Studio or reports created by end-users at runtime in the WinForms or ASP.NET application.

Expanded DevExpress Controls Used by the ReportsV2 Module

Expanded Reports V2 Module Components

The Reports V2 Module consists of the following platform-agnostic and platform-specific components.

  • ReportsModuleV2 - Add it to your platform-agnostic module in the Module Designer.
  • ReportsWindowsFormsModuleV2 - Add it to your WinForms application project in the Application Designer.
  • ReportsAspNetModuleV2 - Add it to your ASP.NET application project in the Application Designer.
  • ReportsMobileModuleV2 - Add it to your Mobile application project in the Application Designer.

Note

Expanded Report Data Type

Reports are persisted using business objects (entities) that implement the IReportDataV2 interface. If you use XPO, the ReportDataV2 persistent class implemented in the Business Class Library is used automatically. If you use Entity Framework, you should manually set the ReportsModuleV2.ReportDataType property to ReportDataV2 and add this type to your DBContext (see Create a Report in Visual Studio). You can also use a custom report data type (see How to: Add a Custom Column to the Reports List).

Is this topic helpful?​​​​​​​