Each data source is independent on the others. We use reflection to find and instantiate each data providing object.
There is no built-in functionality to tell two/several data sources to use the same instance of the data providing object.
Consider using Singleton design pattern
to assure that only one instance of the object will be created.
Currently the ReportBook does not have property as IgnoreEmptyReports
, hence your second requirement is not directly achievable and it would be necessary to use a workaround. Skip adding the second report when it does not receive data is a suitable solution.
Note that there is an increasing demand for the the desired ReportBook functionality from our community.
I suggest to vote for the corresponding feature request in our feedback portal - Do not render blank reports in reportBook
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items