I have a report where I have a tall databand with a group header, I have CanBreak on the databand set to true and KeepGroupHeader set to false, but the databand is 48.4cm tall so it naturally must break. Unfortunately when the report is rendered the first page has the group header and the rest is blank and page 2 looks exactly like page 1 should.
Is there a way to specify where a break like this occurs or to otherwise get the report not to waste the first page?
Tall Databand breaks onto new page
Tall Databand breaks onto new page
- Attachments
-
- Report Example.zip
- (23.48 KiB) Downloaded 10 times
-
Lech Kulikowski
- Posts: 7856
- Joined: Tue Mar 20, 2018 5:34 am
Re: Tall Databand breaks onto new page
Hello,
The GroupHeader has NewPageAfter=true and BreakIfLessThan=90 set - if you disable this or set it to, for example, 80, it will work correctly.
Thank you.
The GroupHeader has NewPageAfter=true and BreakIfLessThan=90 set - if you disable this or set it to, for example, 80, it will work correctly.
Thank you.
-
ZamariGray
- Posts: 1
- Joined: Tue Sep 15, 2026 2:00 am
Re: Tall Databand breaks onto new page
Hi, I’m new to Stimulsoft Reports.NET. I’m trying to change the font size of a text component dynamically depending on the amount of text. What is the best way to make the font smaller automatically when the text is too long?
-
Lech Kulikowski
- Posts: 7856
- Joined: Tue Mar 20, 2018 5:34 am
Re: Tall Databand breaks onto new page
Hello,
You can use the ShrinkFontToFit property of the Text component.
Thank you.
You can use the ShrinkFontToFit property of the Text component.
Thank you.