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

PDF Export not working with https

3 Answers 196 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 02 Mar 2016, 10:37 PM

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?

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 04 Mar 2016, 01:52 PM
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!
 
0
Scott
Top achievements
Rank 1
answered on 04 Mar 2016, 08:12 PM
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.
0
T. Tsonev
Telerik team
answered on 08 Mar 2016, 09:04 AM
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!
 
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Scott
Top achievements
Rank 1
Share this question
or