Export PDF with dynamic components

1 Answer 19 Views
PDF Export
Srinivas
Top achievements
Rank 2
Iron
Veteran
Iron
Srinivas asked on 17 Sep 2021, 06:16 PM

Hi Team,

Following URL show example export to pdf.

https://www.telerik.com/kendo-angular-ui/components/pdf-export/

What if I have dynamic components?
Means based on the scenario my components getting changing and loading dynamically based on passed parameters.

 

Regards,
Srinivas M. P.

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 22 Sep 2021, 07:26 AM

Hello Srinivas,

A similar scenario is demonstrated in the linked documentation example - the Grid component in the invoice receives arbitrary/dynamic data, which gets exported to PDF on button click.

Same goes for components - the PDF component will export the current content wrapped inside the `kendo-pdf-export` tag at the time of exporting.

Regards,
Dimiter Madjarov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Srinivas
Top achievements
Rank 2
Iron
Veteran
Iron
commented on 13 Oct 2021, 03:35 AM | edited

External images are not exporting in PDF.

Attached example project with it.

 

Martin
Telerik team
commented on 15 Oct 2021, 11:12 AM

Hi Srinivas,

Please find the answer in the following thread, as it has more detailed information regarding the issue:

https://www.telerik.com/forums/image-not-exporting-with-pdf-export-in-chrome-browser-same-is-working-well-in-firefox-browser

In case of further questions about this case, I'd suggest continuing our communication there, to avoid scattering the information about this scenario.

Tags
PDF Export
Asked by
Srinivas
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Dimiter Madjarov
Telerik team
Share this question
or