Problem with drawingDOM and IE11

2 posts, 0 answers
  1. Yan St-Yves
    Yan St-Yves avatar
    14 posts
    Member since:
    Jan 2007

    Posted 04 Aug Link to this post

    I have the following function which works perfectly in Chrome but not IE11.

     

    kendo.drawing.drawDOM($(".pagePDF"), { forcePageBreak: ".page-break" })
            .then(function (group) {
                var PAGE_RECT = new kendo.geometry.Rect([0, 0], [mm(215.9 - 25), mm(279.4 - 25)]);
     
                var content = new kendo.drawing.Group();
                content.append(group);
     
                //kendo.drawing.align(content, PAGE_RECT);
                kendo.drawing.fit(content, PAGE_RECT);
                kendo.drawing.pdf.saveAs(group, $("#Nom").val() + ".pdf");
                 
                return kendo.drawing.exportPDF(content, {
                    paperSize: "Letter",
                    margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" },
                    Landscape:true                   
                });
            })

     

    It starts working in IE11 if I take out the forcePageBreak. If there are any properties, the "then" instruction is never executed. There is just nothing happening.

    And, again, it is working fine in Chrome.

     

    Can anybody help me with this problem?

    Thanks in advance!

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1268 posts

    Posted 08 Aug Link to this post

    Hi Yan,

    I replied to the support thread you started with the same subject. I suggest we continue the discussion in it, in order to avoid thread duplication. Once we narrow down what causes the export to fail in IE11 in your specific scenario we can summarize our findings in this thread.

    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top