EXTJS form load from cross domain
I am using EXTJS4 version. when I am trying to load data in form using load method. Its throw me an error like "405 Method Not Allowed".
We are fetching data from cross domain using MVC API in .Net server.
its headache to work on cross domain with EXTJS.
If you are working cross domain you need to use jsonp. The issue you are having is with browser security, not Ext.
I think then the problem is, how to configure the JSONP with a form load?
I haven't looked closely, but I don't think it supports it out of the box. IMO it's easy enough to do a request and just call setValues on the form or something like that.
Ext Premium Member
ExtJS also supports this method of cross-origin resource sharing.
Tags for this Thread