First, thank you for your feedback!
To achieve this scenario the Designer needs to be extended with a user function
. This user function can take a string with CSV file path as a parameter, read the CSV data
from this file and convert it to a DataTable.
Sample approaches for converting CSV data to a DataTable are provided in this thread
After that, the user function can be used to set sub report's data source. This can be achieved by adding a binding
for the DataSource property to sub report's Bindings collection:
Expression: = Telerik.Reporting.Report.Report1.ConvertCSVToDatatable(Parameters.Parameter1.Value)
At last, on configuring the SubReport item's ReportSource map Parameter1
parameter to the data field containing the path to the CSV file - SubReport
(Passing Parameters to a SubReport
Note, that Designer's configuration needs to be extended so it can recognize the user function - Extending Report Designer
I hope this helps.
Telerik by Progress
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? Explore the Telerik Feedback Portal
and vote to affect the priority of the items