PDF Export not working with https

4 posts, 0 answers
  1. Scott
    Scott avatar
    22 posts
    Member since:
    Mar 2011

    Posted 02 Mar 2016 Link to this post

    I have a Kendo Grid defined with the following toolbar:

    toolbar: [
                    "excel",
                    "pdf",
                    {
                        name: "print",
                        text: "Print Page"
                    }
                ],

    Both the excel and pdf exports work great while running on my local development server, which does not use https.  However, when I deploy the code to a production server, which uses https, only the excel export works.  The pdf export goes through each step of its progress bar but never produces the file for saving.  Do you know how to solve this?

  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2831 posts

    Posted 04 Mar 2016 Link to this post

    Hello,

    Ideally, all resources should come from the same origin. See notes about CORS in Known Limitations.

    The protocol shouldn't matter, but it can be a problem if you're mixing HTTP with HTTPS.
    These are considered to be different origins even if they point to the same host.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Scott
    Scott avatar
    22 posts
    Member since:
    Mar 2011

    Posted 04 Mar 2016 in reply to T. Tsonev Link to this post

    Thanks for your response.  The cause of the problem turned out to be a custom .css file created from the Telerik theme builder.  It has hard-coded http image urls in it.  The request was rejected due to these image urls being called.
  4. T. Tsonev
    Admin
    T. Tsonev avatar
    2831 posts

    Posted 08 Mar 2016 Link to this post

    Hello,

    Thanks for the heads-up. A fix is in the works.

    Apologies for the caused inconvenience.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top