Hi Telerik team,
I need to pass some of my entities as parameters to my report and then propagate them down to my subreport.
i tried something like this:
The problem is when i hook to the item binding events I see no parameters in the processing items.
What am I doing wrong. What is the best way to pass the entities to the report and subreport?
thanks.
I need to pass some of my entities as parameters to my report and then propagate them down to my subreport.
i tried something like this:
var instanceReportsource = new InstanceReportSource();instanceReportsource.ReportDocument = new InventoryReportinstanceReportsource.Parameters.Add("location", location); instanceReportsource.Parameters.Add("filters", filters);
ReportViewer2.ReportSource = instanceReportsource; ReportViewer2.RefreshReport(); ReportViewer2.Update();
The problem is when i hook to the item binding events I see no parameters in the processing items.
What am I doing wrong. What is the best way to pass the entities to the report and subreport?
thanks.