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

CORS and IE problem

2 Answers 71 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Rafael
Top achievements
Rank 1
Rafael asked on 21 Mar 2013, 11:51 AM
Hello everybody,
I continue with my KendoUI evaluation. With the help of Rosen (thank you again) I fixed the PUT, DELETE verbs problem (you can see it in this thread), but that solution only worked in Chrome, I found a more complex solution here (http://blogs.msdn.com/b/carlosfigueira/archive/2012/07/02/cors-support-in-asp-net-web-api-rc-version.aspx) and then I have finally make my project work in all browsers but IE.
Debugging with Fiddler I realized that the browser didn't send the HTTP request. With the help of this article (http://www.kendoui.com/blogs/teamblog/posts/11-10-03/using_cors_with_all_modern_browsers.aspx) and this javascript (https://github.com/dkastner/jquery.iecors/blob/master/jquery.iecors.js) I transformed the XHR request to a XDR one, and now the bowser issues the request correctly and receives the answer in JSON format, but the grid doesn't show the registers (others browsers like Opera, FireFox and Safari work OK).
You can reproduce this behaviour downloading my test project from (https://github.com/ragare62/AriUserManagement) and loading AriUMSolution, starting AriUMWebApi and AriUMWebHtml. If you load UserGrid.shtml you can see what I'm talking about.
Again, any help would be appreciate, I think I'm near to the end but I can't fix this problem.
By the way, I'm experiencing a bug in this forum and I can't read my own threads  after post them. I return to the previous page when I try to read them, I can read other threads without problem.
Best regards.

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 21 Mar 2013, 12:42 PM
Hi Rafael,

It seems that the iecors may not work as expected. Thus, you may try some other similar plugin for example this one.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rafael
Top achievements
Rank 1
answered on 25 Mar 2013, 10:53 AM
Hi Rosen,
You're right, with this JS it Works in all IE editions.
Thank you very much.
Tags
Data Source
Asked by
Rafael
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Rafael
Top achievements
Rank 1
Share this question
or