Image export limits in IE?

4 posts, 0 answers
  1. Jay
    Jay avatar
    2 posts
    Member since:
    Dec 2014

    Posted 24 Sep 2015 Link to this post

    I'm having trouble exporting larger PNG files of my diagram using Internet Explorer 11.  The width of the file's dimensions seems to be limited to 4096 pixels.  After that point, the image just cuts off.  Not sure if there are any height limitations as the diagrams I'm producing are generally much wider than they are tall.  I'm basically using the same client-side code that was provided in one of the demos:

    function exportImage() {
                    var diagram = $find("<%=TreeDiagram.ClientID %>").get_kendoWidget();
                    diagram.exportImage().done(function (data) {
                        kendo.saveAs({
                            dataURI: data,
                            fileName: "diagram.png"
                        });
                    });
                }

    I've tried the same exports using Chrome with no issues.  Unfortunately... I'm required to get the export feature working in IE 11, so I would appreciate any help in being pointed in the right direction.

  2. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 29 Sep 2015 Link to this post

    Hi Jay,

    The experienced error is most probably due to request size configurations set on application level. Please, follow the instructions in the following help article in order to increase the value of the maxRequestLenght property and see whether this will resolve the issue? - http://docs.telerik.com/devtools/aspnet-ajax/controls/upload/uploading-files/uploading-large-files#maxrequestlength

    Regards,
    Vessy
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jay
    Jay avatar
    2 posts
    Member since:
    Dec 2014

    Posted 29 Sep 2015 Link to this post

    I had maxRequestLength set as 76800 in web.config.  I expanded the length but it didn't seem to have any impact on the ​PNG I was ​pulling down.  The picture was still limited to 4096 pixels wide.  The exact dimensions are 4096 x 730, and the file size is 111KB when exporting from IE.

    Just for reference, for this specific diagram the entire size of it (when exported from Chrome) is 253KB, and the dimensions are 5550 x 730.

  5. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 30 Sep 2015 Link to this post

    Hi Jay,

    This is really strange. Unfortunately the provided additional information is not enough for us to determine what is causing the issue on your side. Would it be possible for you to isolate the problematic configuration into a runnable sample reproducing the case and send it so we can examine it locally?

    Looking forward to your reply,
    Vessy
    Telerik
Back to Top