Collapse PageHeaderBand

Stimulsoft Reports.NET discussion
Post Reply
mailo
Posts: 4
Joined: Thu Mar 11, 2021 10:59 am

Collapse PageHeaderBand

Post by mailo »

I need PageHeaderBand to apear only first and last page. But when I set appropriate PrintOn option I'm getting empty block on the place of PageHeaderBand for all other pages except the first and the last. How to collapse this block at all (like Print Odd/Even Pages Option do)?
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Collapse PageHeaderBand

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
mailo
Posts: 4
Joined: Thu Mar 11, 2021 10:59 am

Re: Collapse PageHeaderBand

Post by mailo »

Hello
Attachments
pattern.mrt
(155.77 KiB) Downloaded 87 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Collapse PageHeaderBand

Post by Lech Kulikowski »

Hello,

Thank you for the sample. We have reproduced the issue.
We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#3744
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Collapse PageHeaderBand

Post by Lech Kulikowski »

Hello,

in that case, you should use the following option:
StiOptions.Engine.UseAdvancedPrintOnEngineV2 = true;

Thank you.
mailo
Posts: 4
Joined: Thu Mar 11, 2021 10:59 am

Re: Collapse PageHeaderBand

Post by mailo »

Hello! Now I'm getting barcode on penult page too
pattern.JPG
pattern.JPG (319.7 KiB) Viewed 1289 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Collapse PageHeaderBand

Post by Lech Kulikowski »

Hello,

There may be a conflict, when on the last page the data will fit without the header, but not with it.
Then the last rows of data are moved to the next page, and this is not the last page, so there is no need for a header. but without a header the data will fit in, so it does not need to be transferred and it is the last page.
It is a vicious circle. And in this case, the header will be displayed on the second last page.
Unfortunately, it can not be fixed.

Thank you.
mailo
Posts: 4
Joined: Thu Mar 11, 2021 10:59 am

Re: Collapse PageHeaderBand

Post by mailo »

Strange that this case was not taken into account during development.
Nevertheless, thank you
Sergio Museninni
Posts: 16
Joined: Wed Mar 17, 2021 6:04 pm

Re: Collapse PageHeaderBand

Post by Sergio Museninni »

Hi,
Now it works as it does. But we will take care of it in the future.
Thank you
Post Reply