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

ImageBrowser: IE8 Compatibility.

1 Answer 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sean McLellan
Top achievements
Rank 1
Sean McLellan asked on 13 Mar 2013, 03:07 PM
I'm using an KendoUI Editor 2012.3.1314 with the ImageBrowser in IE8.

For image uploads, I have a service that the IB is pointed to that does the work of getting the body of the POST, persisting it and returning a JSON object that represents the newly uploaded file. (Filename, size)

This works great in IE9+, Chrome. However, in IE8, after the Image POST, IE8 pops a file save dialog -- the contents of which are the JSON object that was returned by the service response.

I've made sure that my request header is application/json and that I don't have a content-disposition of attachment -- again, everything works great under IE9+, Chrome

Trying to track down the issue -- I'm guessing it's something in kendo.upload.js and something with how IE8 handles the IFrame differently.

I know IE8 is probably not on your list of "fun" things to look at, but any input you have would be helpful, thanks.



1 Answer, 1 is accepted

Sort by
0
Sean McLellan
Top achievements
Rank 1
answered on 13 Mar 2013, 05:20 PM
Meh -- changing the response content type to text/plain fixes the issue.
Tags
General Discussions
Asked by
Sean McLellan
Top achievements
Rank 1
Answers by
Sean McLellan
Top achievements
Rank 1
Share this question
or