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

3 posts, 0 answers
  1. Gowthami
    Gowthami avatar
    2 posts
    Member since:
    Jul 2020

    Posted 09 Jul Link to this post

    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. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2031 posts

    Posted 13 Jul Link to this post

    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

  3. Gowthami
    Gowthami avatar
    2 posts
    Member since:
    Jul 2020

    Posted 13 Jul in reply to Ivan Danchev Link to this post

    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. 
Back to Top