Last post Feb 22, 2016 05:46 AM by Candice Zhou
Feb 20, 2016 01:53 AM|csharpnew|LINK
I have a website that runs on IE 11. There is an export to PDF button which when clicked calls a ascx control and renders the html content to ExpertPdf.HtmlToPdf. In production, the PDF text is rendered as an image however in development it is regular text.
I think due to this, the file size of the PDF generated from production is huge when compared to the one produced from development. I checked the Site.Master's meta http equivalent and in both environments it is set to "X-UA-Compatible" content="IE=EmulateIE8".
I don't know what else to check.
Any help will be very much appreciated.
Feb 22, 2016 05:46 AM|Candice Zhou|LINK
I checked the Site.Master's meta http equivalent and in both environments it is set to "X-UA-Compatible" content="IE=EmulateIE8".
You force a webpage to be rendered in Internet Explorer 8 mode.
The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as. IE11 has made changes to these modes; see the IE11 note below: