Unfortunately when exporting to XLS the accurate report layout is not guaranteed. For example row and column spacing can be inconsistent with what you see in the report viewer.
The problem was already reported and Telerik accepted it but nothing could do to address the issue.
Our application handles this problem by running the VBScript for resizing the spreadsheet rows after the exporting. This works reasonable fine if exporting is done programatically (after RenderReport returns):
But how to detect export completion and the exported file name if the report was exported by clicking the export button on the ReportViewer toolbar. I cannot find any appropriate event in ReportViewer for this.
Any suggestion would be appreciated.
The problem was already reported and Telerik accepted it but nothing could do to address the issue.
Our application handles this problem by running the VBScript for resizing the spreadsheet rows after the exporting. This works reasonable fine if exporting is done programatically (after RenderReport returns):
ReportProcessor reportProcessor = new ReportProcessor(); RenderingResult result = reportProcessor.RenderReport(type, (IReportDocument)report, null);
But how to detect export completion and the exported file name if the report was exported by clicking the export button on the ReportViewer toolbar. I cannot find any appropriate event in ReportViewer for this.
Any suggestion would be appreciated.