1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    India
    Posts
    40
    Vote Rating
    0
    pratik016 is on a distinguished road

      0  

    Default EXTJS form load from cross domain

    EXTJS form load from cross domain


    Hello Guys,

    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.

  2. #2
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    536
    Vote Rating
    70
    Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough

      0  

    Default


    If you are working cross domain you need to use jsonp. The issue you are having is with browser security, not Ext.
    http://docs.sencha.com/ext-js/4-1/#!...method-request

  3. #3

  4. #4
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    I think then the problem is, how to configure the JSONP with a form load?

  5. #5
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    536
    Vote Rating
    70
    Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough Tim Toady is a jewel in the rough

      0  

    Default


    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.

  6. #6
    Ext Premium Member
    Join Date
    Aug 2010
    Posts
    12
    Vote Rating
    1
    dpatten69 is on a distinguished road

      0  

    Default


    ExtJS also supports this method of cross-origin resource sharing.
    http://www.w3.org/TR/cors/

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi