PDF Export

1 Answer 90 Views
PDF Export
serge
Top achievements
Rank 2
Bronze
Iron
Iron
serge asked on 15 Mar 2022, 03:31 PM

In an existing project, I need to export some part of my document as PDF, so I read the doc for the pdf export here

"3. The next step is to style the component by installing one of the available Kendo UI themes" (??!!)

My question is why should I (ré?)install a theme in order to export a PDF?

I have my existing project, that has already setup all the needed CSS, I don't need to break the existing display, why the article suggest me to install a theme ? Who does need a theme, installs a theme, I need just the PDF export. 

So, my question is, would the PDF work without installing a theme?

1 Answer, 1 is accepted

Sort by
0
Valentin
Telerik team
answered on 16 Mar 2022, 04:16 PM

Hi Serge,

Thank you for the provided feedback.

Indeed it isn't necessary to install a Kendo UI theme to use the functionality of the PDF Export component.

Also, I would like to mention that I will initiate a team discussion on the installation steps in our documentation and we will consider removing the theme installation step.

Once again thank you for the provided feedback.


Valentin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

serge
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 16 Mar 2022, 04:24 PM

the documentation should provide a strictly minimum demo for the module to work, without any enhancements, that could be added in other paragraphs. I am afraid in my case the test button did nothing... I will provide an other question to explain the problem.
serge
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 16 Mar 2022, 04:25 PM

also I am afraid that the PDF could use some kendo theme css for the "print" behavior. this why the code could not work without a kendo theme... not sure, should test
Valentin
Telerik team
commented on 21 Mar 2022, 08:31 AM

Hi Serge,

Thank you for the provided suggestions concerning the improvement of our documentation.

Also, I am not sure what the term "print behavior" means. Basically, the PDFExport component will export what is currently visible on the screen. Having said that if other kendo components need to be exported then the Kendo theme would be required. However, the PDFExport, as well as the ExcelExport component, doesn't require installing a theme.

I hope the provided information helps.

Tags
PDF Export
Asked by
serge
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Valentin
Telerik team
Share this question
or