The complete example is available in the FeatureCenter application. By default, this demo is installed in the %PUBLIC%\Documents\DevExpress Demos 19.2\Components\eXpressApp Framework\FeatureCenter path. The master report and its subreport are demonstrated in the following files.
If you choose ViewDataSource, use the same approach described in the previous paragraph, but take into account that the master object's key column is added in the Parameter Bindings Collection Editor dialog demonstrated in the XtraReports tutorial. With the ViewDataSource, you should add the key column manually to the ViewDataSource.Properties collection. The Expression value should refer to the key property of the business class specified by DataSourceBase.ObjectTypeName (e.g., to the BaseObject.Oid property). The image below demonstrates the key column added in the Reports Designer.
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.