Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
The goal was to output additional information when exporting the report. This works excellent but only in the preview of the designer. In our application the same report is exported using the ExportDocument() method and then the script in the ExportingEvent is not executed. Is this a bug or I'm missing something?
thank you very much for your reply. Your solution works of course but it is hard coded and so not usable for me. The goal is to have the ability inside a report to change the visibility of some components when exporting - similar the Printable-property. The problem with the Printable-property is, that the calculated space remains - in my case a whole blank page. So I tried the ExportingEvent to show some hidden components and re-render the report which works perfectly in the preview of the designer but not when using the ExportDocument() method. Where is the difference between the exporting from the preview of the report designer and using the ExportDocument() method?