1. #1
    Ext User
    Join Date
    Mar 2010
    Location
    Guanatos
    Posts
    5
    Vote Rating
    0
    chicano is on a distinguished road

      0  

    Default Upload multiple files in extjs 3.x.x

    Upload multiple files in extjs 3.x.x


    Hello,

    Does anyone has done uploading files in ExtJS 3.x.x ??

    Regards,

    Chicano

  2. #2
    Ext User
    Join Date
    Mar 2010
    Location
    Guanatos
    Posts
    5
    Vote Rating
    0
    chicano is on a distinguished road

      0  

    Smile Upload multiple files in extjs 3.x.x

    Upload multiple files in extjs 3.x.x


    Hello,

    Does anyone has implemented uploading files in ExtJS 3.x.x

    Regards,

    chicano

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    57
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Yes.

  4. #4
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Yes
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

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

      0  

    Default


    YES, do something like this,

    Ext.Ajax.request(
    {
    url: 'updatescript.php/aspx or whatever',
    isUpload: true,
    params: yourextraparams,
    form: form.getEl().dom,
    headers: {'Content-type':'multipart/form-data'},
    scope:this,
    success: function(response, options)
    {


    },
    failure: function(response, options)
    {
    var error = Ext.decode(r.responseText).error;
    Ext.Msg.alert('UPLOAD ERROR', 'Message:<br />' + error);
    }
    });
    }

  6. #6
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Have a look at Saki's UploadPanel.

  7. #7
    Ext User
    Join Date
    Mar 2010
    Location
    Guanatos
    Posts
    5
    Vote Rating
    0
    chicano is on a distinguished road

      0  

    Default


    thank you guys, if I want to implement a progress bar how would I do it, can somebody help me with this.

    thanks

  8. #8
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      1  

    Default


    Does the progressbar have to show real progress or only a waiting indicator?

    Using only javascript you can't show the real progress. You need someting like Flash or Java to do that.

  9. #9
    Ext User
    Join Date
    Mar 2010
    Location
    Guanatos
    Posts
    5
    Vote Rating
    0
    chicano is on a distinguished road

      0  

    Default


    Hello Condor, it will be great to show real progress, but now it will be ok to show just as indicator.

    regards,