Hi all.
I have a problem with
Telerik Reporting and I need an advice.
I’m trying to do a
master/detail report with subreports, using LINQ and NeedDataSource event.
Now I have a report
and a subreport in it, and want to retrieve data in a master/detail order. I
tried to add a new subreport constructor with a parameter that is transmitted
to the Data source of the subreport, but it just retrieves the first registry
from the database and repeats it for each element in the main report. I tried
to add a new propriety and assign a value to it in the main report, but the
result was the same. I think that’s because NeedDataSource is fired once at the
subreport initiation.
Is there any solution the problem? How could such a master/detail report be build?
Thanks in advance.
Fachmann.