PDF exporter failing

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

    Posted 19 Aug Link to this post

    Hi, 

    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,
    Grant

  2. Answer
    Stefan
    Admin
    Stefan avatar
    270 posts

    Posted 23 Aug Link to this post

    Hello Grant,

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

    http://docs.telerik.com/kendo-ui/framework/drawing/drawing-dom#known-limitations

    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. 

    Regards,
    Stefan
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top