Page break from external var not working

Stimulsoft Reports.WEB discussion
Post Reply
mgmediaweb
Posts: 1
Joined: Mon Jul 21, 2025 8:03 pm

Page break from external var not working

Post by mgmediaweb »

Hello friends, this is my first work with Stimulsoft, in my work they have been using it for a long time.

My task is to create a filter from an external menu that applies to the report to show the records all at once or 1 per sheet. For this I am using the “NewPageAfter” property, I applied it to the band called “GroupFooterBand2” with the “Before Print” function and I have also used it in the ‘Report’ with the “Begin Render” property. This is the code I use:

Code: Select all

this.GroupFooterBand2.NewPageAfter = JournalBySheet;
It is worth mentioning that the variable “JournalBySheet”, is received well and I can print it in the report correctly.

Also, in the “Preview”, it works correctly, when I make the change it works as it should, but not in the browser.

I would appreciate any help
Attachments
Screenshot 2025-07-21 132418.png
Screenshot 2025-07-21 132418.png (48.76 KiB) Viewed 1959 times
Lech Kulikowski
Posts: 7357
Joined: Tue Mar 20, 2018 5:34 am

Re: Page break from external var not working

Post by Lech Kulikowski »

Hello,

Please see the sample report in the attachment.

Thank you.
Attachments
GroupFooter.mrt
(876.7 KiB) Downloaded 54 times
Post Reply