Hiding SubReport if there is no data
|Product||Progress® Telerik® Reporting|
How to hide the SubReport if there is no data?
The reporting generation engine renders a Detail section for each data record. When there is no data, it will not produce any Detail sections. To hide the SubReport Header, use a binding rule to set its Visible property to True only if there is an available data. For example:
= Count(Fields.SomeFieldValue) > 0
In main report, set the height of the SubReport item to 0 (zero). This way it will not occupy space when there is nothing to render in the SubReport.
For more available approaches, please refer to How to hide a SubReport with no data.