Problem in SubReport Header and Footer

Stimulsoft Reports.NET discussion
Erfan Gholami
Posts: 4
Joined: Mon Dec 24, 2007 2:35 pm
Location: Iran

Problem in SubReport Header and Footer

Post by Erfan Gholami »

hi
i use a SubReport with header . but header is not repeat at every pages
can you help me please .
tnx
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Problem in SubReport Header and Footer

Post by HighAley »

Hello.
Erfan wrote:i use a SubReport with header . but header is not repeat at every pages
can you help me please .
At this moment all sub-reports are rendered on one page with unlimited height and only then is put on the page of the main report. So the headers isn't repeated.

As workaround, please, try to move Bands with headers and footers to main report.

Thank you.
lsilva.gvdasa
Posts: 25
Joined: Tue Apr 11, 2017 4:47 pm

Re: Problem in SubReport Header and Footer

Post by lsilva.gvdasa »

Hi HighAley,

I'm having the same problem. Has it been solved?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem in SubReport Header and Footer

Post by Alex K. »

Hello,

We made some improvements in that direction. Please check the last version.

If the issue still present, please send us a simple report with test data which reproduces the issue for analysis.

Thank you.
vineet
Posts: 69
Joined: Fri Nov 10, 2017 3:12 am

Re: Problem in SubReport Header and Footer

Post by vineet »

Hi HighAley, just checking if this will ever be solved? Seems like a lot of users are facing this issue including myself.
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: Problem in SubReport Header and Footer

Post by MatthiasU »

Hi,

try to use it as external subreport.
vineet
Posts: 69
Joined: Fri Nov 10, 2017 3:12 am

Re: Problem in SubReport Header and Footer

Post by vineet »

Hi, we don't want to create external subreports for each individual sub-section on a report. Makes code management messy too. The issue is fixed if I use an external sub-report? If yes, seems like the next correct thing to do would be to fix it for all types of sub-reports.
Lech Kulikowski
Posts: 7424
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem in SubReport Header and Footer

Post by Lech Kulikowski »

Hello,

Please check the last release. If the issue still present, please send a sample report for analysis.

Thank you.
miss
Posts: 3
Joined: Mon Oct 06, 2025 4:28 am

Re: Problem in SubReport Header and Footer

Post by miss »

Hi, im kinda facing the similar issue related to header when injecting a SubReport into a Main Report in Stimulsoft.

In the standalone SubReport, the table header (or header band) repeats correctly on each page.
But when the same SubReport is injected into a Main Report, the header becomes separated from its data rows. Sometimes the header prints alone at the bottom of a page, and the data starts on the next page. In simple words, the layout becomes messed up.

What I’ve already tried:

* Moving the header into a GroupHeaderBand in sub report with `RepeatOnEveryPage = true`.
* Splitting the table into a header table in a GroupHeaderBand and a data table in a DataBand.
* Adjusting SubReport properties such as `PrintOnPreviousPage` and `PrintOnAllPages`.

None of these solved the separation issue.

My questions:

1. Is this a known limitation when injecting SubReports into a Main Report?
2. Is there a workaround to keep headers attached to their data rows and still repeat correctly on each page when used inside a Main Report? If yes, how can i fix this?
Lech Kulikowski
Posts: 7424
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem in SubReport Header and Footer

Post by Lech Kulikowski »

Hello.

The sub-report is rendered on a page with unlimited height, because it's impossible to know the end size of the sub-report component, and then split into pages.

Thank you.
Post Reply