This is a migrated thread and some comments may be shown as answers.

PDF export fails saying download failed - Network error

1 Answer 447 Views
PDF Export
This is a migrated thread and some comments may be shown as answers.
Sai Dharmendra
Top achievements
Rank 1
Sai Dharmendra asked on 30 Sep 2019, 03:24 PM
We have around 350 rows in grid. Up to certain number of rows it is working fine but after that it says download failed - network error. Is there any way to fix this issue?    

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 02 Oct 2019, 07:00 AM

Hello Sai,

The described error is typically caused by a system and browser-specific limitation of the export functionality, signifying that the file is too large and cannot be saved properly even after the built-in Paco-related optimizations. You can find further details for both setting the resolution and the other documented limitations of the PDF Export functionality in the following sections of our documentation:

https://www.telerik.com/kendo-angular-ui/components/pdfexport/embedded-images/#toc-embedded-images

https://www.telerik.com/kendo-angular-ui/components/pdfexport/limitations-browser-support/

If reducing the resolution does not resolve the problem, the only available option remains a server-side solution, for example:

https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/overview

That being said, 350 rows seems to be a very low limit, as in the following example a Grid with 1000 rows is exported as expected on my end in Chrome:

https://stackblitz.com/edit/angular-ooggsz?file=app/app.component.ts

Can you please provide further details about the system/device and browser the error is observed on, and a similar isolated runnable project where the issue can be reproduced, so we can inspect it and try to provide a suggestion that might help in the specific use case? Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PDF Export
Asked by
Sai Dharmendra
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or