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

Image export limits in IE?

3 Answers 31 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 25 Sep 2015, 04:05 AM

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.

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 29 Sep 2015, 11:10 AM
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
0
Jay
Top achievements
Rank 1
answered on 29 Sep 2015, 03:24 PM

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.

0
Vessy
Telerik team
answered on 30 Sep 2015, 12:02 PM
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
Tags
Diagram
Asked by
Jay
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Jay
Top achievements
Rank 1
Share this question
or