Hi everyone,
We are exporting a report to Excel from the Preview window and would like to display an additional page only during the export process.
I have tried checking this.IsExporting from several page events, but it does not seem to detect the export action as expected.
Could anyone clarify how the export process works when initiated from the Preview window? Specifically:
Is the report regenerated/reprocessed before exporting to Excel?
Or does the export simply use the report output that is already rendered in the Preview window?
Any insights would be greatly appreciated.
Thanks!
Identifying When a Report Is Exported to Excel
-
zingtaunt
- Posts: 1
- Joined: Thu Jun 12, 2025 8:51 am
- Location: https://stickmanhook-2.github.io
-
Lech Kulikowski
- Posts: 7800
- Joined: Tue Mar 20, 2018 5:34 am
Re: Identifying When a Report Is Exported to Excel
Hello,
During export, the fully rendered report is exported.
Therefore, you can either make/add changes to rendered pages - this.RenderedPages, or add the changes to the report template and then re-render the report using this.Render().
Thank you.
During export, the fully rendered report is exported.
Therefore, you can either make/add changes to rendered pages - this.RenderedPages, or add the changes to the report template and then re-render the report using this.Render().
Thank you.