Hello,
I have created a custom print.html template, which renders a print version of a given page. The print layout when hitting ctrl+p or a button command is just fine, however when I try to create a PDF on the given page by adding ?pdf=true&landscape=true to the URL it crashes and gives me the following error:
System.Exception: PDFClass constructor exception ---> WebSupergoo.ABCpdf9.Internal.PDFException: Unable to render HTML. ABCPDF_INTERNAL_MSHTML_RENDERED_IN_IE9_MODE (HTTP 200). at WebSupergoo.ABCpdf9.Doc.AddUrlHtml(String urlOrHtml, Boolean isHtml, Boolean paged, Int32 width, Boolean disableCache) at WebSupergoo.ABCpdf9.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache) at WebSupergoo.ABCpdf9.Doc.AddImageUrl(String url) at Dynamicweb.PDFClass..ctor(String strUrl, Boolean landscape, Boolean letter, Int32 leftRightMargin, Int32 topBottomMargin) --- End of inner exception stack trace --- at Dynamicweb.PDFClass..ctor(String strUrl, Boolean landscape, Boolean letter, Int32 leftRightMargin, Int32 topBottomMargin) at Dynamicweb.Frontend.PageView.Output()
I am currently querying: www.domainname.dk/somepage.aspx?template=print.html&pdf=true&landscape=true ..
Am I missing something? :)
Thanks
/MikkelTO