In RDLC reports, we are planing to use a sub report as the report header to avoid code duplication and to keep the consistency across all the reports.
However RDLC does not allow to add sub reports in the header section. Hence we can only add it to the body. When adding to the body, sub report is only visible in the first page. We need to display it as the header in all the pages.
Does anyone has come across a scenario like this and have an idea to achieve this?
Thanks, Wijitha
You may need to re-think your approach. If you want for ALL reports to have the same header, why don't you use your "header" report as a "main" report and drop other reports into it's body as sub-reports?
Also, you may choose to use Table in the main report and create your "header" in Table header and set it to repeat on each page and add your sub-reports as detail rows. It depends on the logic of your report(s) and if you need any additional grouping or visibility conditions.