Triggering Page Break Only When Exporting Report from Preview to Excel
Posted: Wed Jan 07, 2026 1:23 am
Hi everyone,
We are exporting a report to Excel directly from the Preview window, and there is a requirement to trigger an additional page break only during the export process, not when viewing the report in Preview.
I have tried using this.IsExporting and checking it in different page-related events, but it doesn’t seem to work as expected.
Could you please confirm whether:
the report is recompiled when exporting from the Preview window, or
the export uses exactly the layout that is already rendered in Preview?
Any guidance or recommended approach would be greatly appreciated.
Thank you.
We are exporting a report to Excel directly from the Preview window, and there is a requirement to trigger an additional page break only during the export process, not when viewing the report in Preview.
I have tried using this.IsExporting and checking it in different page-related events, but it doesn’t seem to work as expected.
Could you please confirm whether:
the report is recompiled when exporting from the Preview window, or
the export uses exactly the layout that is already rendered in Preview?
Any guidance or recommended approach would be greatly appreciated.
Thank you.