Hi,
I have a ReportViewer control:
<tr:ReportViewer ReportSource="{Binding MyReportSource}"/>
A report:
public partial class MyReport : Telerik.Reporting.Report{ public MyReport() { InitializeComponent(); }}
A view model:
public class ViewModel{ public ReportSource MyReportSource { get; set; } = new InstanceReportSource { ReportDocument = new MyReport() }; public IList<MyReportModel> MyModels { get; set; }}
The ReportViewer control displays the structure defined in MyReport.
I assume that the ReportSource binding is working properly.
But how do i bind MyModels as a data source for MyReportSource,
so that it actually renders some data?
Thanks in advance,
machine spirit