Telerik reports subreports
-
24-01-2021 - |
Question
I'm starting with telerik reports so I have one question. In my report I need to create maser report for every chosen product and below it I need to show report for each selected product detailed. So when I chose some products in reports parameters listbox I see my summary report but don't know how to add as many detailed reports below it as user has chosen in listbox. Thanks for any hint!
Solution
Telerik supports subreports like you need. Here are the basic steps:
- Build a new report to display the detail information. It should have a parameter that is the 'current' product (it sounds like you might already have this report)
- On your main product report (the master), place a
SubReport
control in the detail section. Set theReport
property of theSubReport
to the report you created above. - Set the
Parameters
property on theSubReport
to pass the product from the current detail row to the subreport.
For more information, you can reference Telerik's documentation, a live demo, or the API reference.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow