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

Image/block of content breaking at page end with kendos exportpdf

2 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gowthami
Top achievements
Rank 1
Gowthami asked on 09 Jul 2020, 12:47 PM
I'm using kendos exportpdf function to convert html template into pdf file in django framework.pdf file comes/looks good. when we use only text within template. When I have added block of content using css(bootstrap cards) the text along with block is breaking(as per below screenshot) when it comes to end of the page. Can anyone help me to resolve this issue and please let me know if any additional information to be added for clear understanding.

2 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 13 Jul 2020, 11:35 AM

Hello Gowthami,

We haven't tested our pdf exporting functionality in the django framework, however we are not aware of an issue that causes page break related to exporting Bootstrap cards. Here's a dojo example, in which several cards along with text are exported: https://dojo.telerik.com/akefiNuG

Could you modify the exported content accordingly so that it demonstrates the issue and link the example back for further review?

Regards,
Ivan Danchev
Progress Telerik

0
Gowthami
Top achievements
Rank 1
answered on 13 Jul 2020, 01:51 PM
Hello Ivan, 

Thank you for your response. I've scaled down the pdf file while exporting and added specific classes of cards into 'KeepTogether' key of Exportpdf function which resolved my issue. 

Regards,
Gowthami. 
Tags
General Discussions
Asked by
Gowthami
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Gowthami
Top achievements
Rank 1
Share this question
or