What is a side by side report?
Each subreport displays information about a selected employee, providing a convenient way to put employee resumes together. You can use a similar approach to show two completely different reports (which use different data sources) within a single report document.
How do you pass parameters in Devexpress report?
To create a parameter, switch to the Data Explorer window, right-click the Parameters section and choose Add Parameter. Right-click the created parameter and select the Edit Parameters… action in the invoked popup menu. In the invoked editor, define the parameter name and assign an appropriate type to it.
What is xrsubreport in DevExpress?
Assembly : DevExpress.XtraReports.v21.1.dll XRSubreport is a control that references another report – an XtraReport class instance or a report stored in a REPX or XML file. The referenced report content is included instead of the XRSubreport control.
How do I use the xrsubreport within a report designer?
If you specify both properties, the XRSubreport includes the report specified by ReportSourceUrl. Double-click the XRSubreport control instance within a Report Designer to open the referenced report in a new Design Panel. This action is unavailable if you implement the Report Designer as a single-document user interface.
How do I add a subreport to the main report?
‘ Add subreport to the main report’s DetailBand. mainReport.Bands ( “DetailBand” ).Controls.Add (subreport) Assign the XtraReport class instance to the XRSubreport ‘s ReportSource property. The ReportSource property is not available in the Web Report Designer.
How to add a reference to a report from a RepX file?
In an End-User Report Designer, expand the Subreport control’s smart tag and click the Report Source Url property’s ellipsis button to invoke the Open File dialog. Specify the report file name and click Open. The code sample below adds a reference to a report from a REPX file. using DevExpress.XtraReports.UI ; //