Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to merge reports in XAF

$
0
0

In the XtraReports documentation How to: Merge Pages of Two Reports article it is described how to merge two XtraReports.

To embed this solution in an XAF application, use the WinReportServiceController.CustomShowPreview event and combine the passed e.Report report with the customized XtraReport1 report:

[C#]
privatevoidreportService_CustomShowPreview(objectsender,CustomShowPreviewEventArgse){XtraReport1coverPageReport=newXtraReport1();coverPageReport.CreateDocument();e.Report.CreateDocument();coverPageReport.Pages.AddRange(e.Report.Pages);coverPageReport.ShowPreviewDialog();e.Handled=true;}
Question Comments

Added By: Mario Blatarić at: 12/5/2013 11:39:05 PM    

How to do this in 13.2 and ReportsV2?
There isn't e.Report any more ...

Added By: Michael (DevExpress Support) at: 8/14/2014 1:11:04 AM    

A solution for ReportsV2 is provided in the ReportsV2 - Provide the capability to customize reports just before showing them ticket.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>