Page break from external var not working
Posted: Mon Jul 21, 2025 10:47 pm
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:
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
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;
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