PDF exporter failing

2 posts, 1 answers
  1. Grant
    Grant avatar
    88 posts
    Member since:
    Jul 2016

    Posted 19 Aug 2016 Link to this post


    Im trying to export a grid to PDF but Im constantly having problems with it.

    In Chrome
    If I import kendo.common.min.css from the kendo cdn, everything works as it should (PDF exported successfully). As soon as I change to my local copy, it fails, complaining that it cannot find "styles/fonts/DejaVu/DejaVuSans.ttf" even though the file IS there.

    In IE
    Always fails, complaining about "Access is Denied" in the kendo.all.min.js. 

    I just updated my kendo files this morning to version 2016.2.714. Unfortunatly I have been unable to duplicate the issue in a Dojo environment so I dont know how to proceed. Please advise.

    Kind Regards,

  2. Answer
    Stefan avatar
    1257 posts

    Posted 23 Aug 2016 Link to this post

    Hello Grant,

    The issues in Chrome and Internet explorer are related to CORS (cross-domain Ajax) restrictions:


    Once the font files are uploaded to the server that will host the application, the pdf export should work as expected.

    If this is not the case, please send a locally runnable project so we can investigate it further. 

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top