TIFF Export not contain all reports

1 Answer 110 Views
.NET Framework Report Viewer - HTML5 Report Viewer - HTML5 WebForms
Mail
Top achievements
Rank 1
Mail asked on 22 Apr 2022, 11:36 AM

Hi All, 

I'm using HTML5 ASP.NET MVC Report Viewer & have report book with two reports. when i export it as TIFF the file only contain last report. 

Are there any solution to fix my issue. If any one want more information please comment below..

Thank you

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Apr 2022, 09:21 AM

Hello,

This is expected behavior when exporting a report book to a TIFF file.

The reason for this is that all pages in the TIFF file must have the same size, while the report book allows having reports with different page sizes.

As a workaround, you may try exporting the reports in the book individually. In the exportBegin(e,args) report viewer event, the args parameter will have the currently exported to format. You may apply the custom export only for the TIFF export format by hooking to this event similar to the example from the Replace report on export in the Html5 Viewer KB article.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Raj
Top achievements
Rank 1
commented on 19 Sep 2023, 09:11 PM | edited

Hello,

Downloading TIFF format of the report doesn't work on Linux Dockers. Is this expected?

Below is the link to article where it says it is not supported (highlighted). "TIFF is not supported by the library libgdiplus. For that reason, the TIFF Image export doesn't work on Linux and Mac platforms."

https://docs.telerik.com/reporting/styling/rendering-and-paging/design-considerations-for-report-rendering/image-rendering-design-considerations

Is there a workaround?

Thanks, Raj.

Dimitar
Telerik team
commented on 20 Sep 2023, 08:49 AM

Hello Raj,

I am afraid there is no workaround for this problem since it is a limitation of the libgdiplus library itself. We will be migrating to the SkiaSharp library soon and it is possible that this might allow TIF exporting, however, I cannot guarantee it yet as we are still in the process of migrating. The article will be updated if there is a change on this.

Thank you for your understanding.

Tags
.NET Framework Report Viewer - HTML5 Report Viewer - HTML5 WebForms
Asked by
Mail
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or