I have the following code which works perfectly in Chrome and Firefox, but it does not work in IE9. The server has the correct CORS header Access-Control-Allow-Origin
I don't get any errormsg in IE, but when i start network trace in the F12 developer tools I Can see that it is not trying to read data at all. api.rambase.net is never accessed.
I don't get any errormsg in IE, but when i start network trace in the F12 developer tools I Can see that it is not trying to read data at all. api.rambase.net is never accessed.
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
>
<
title
></
title
>
<
link
href
=
"styles/kendo.common.min.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"styles/kendo.default.min.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
script
src
=
"js/jquery.min.js"
type
=
"text/javascript"
></
script
>
<
script
src
=
"js/kendo.web.min.js"
type
=
"text/javascript"
></
script
>
</
head
>
<
body
>
<
div
id
=
"grid"
></
div
>
<
script
>
$(document).ready(function () {
var myDatasource = new kendo.data.DataSource({
transport: {
read: {
dataType: "json",
data: {
access_token: "pJqsseeESsdfse-d9_8CMQPsLg2"
},
beforeSend: function (req) {
req.setRequestHeader('Accept', "application/json");
}
}
},
schema: {
data: "customers.customer"
}
})
$("#grid").kendoGrid({
dataSource: myDatasource
});
});
</
script
>
</
body
>
</
html
>