1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    2
    Vote Rating
    0
    bssoft2b is on a distinguished road

      0  

    Default Ajax upload.Help!

    Ajax upload.Help!


    It does not work file uploads.
    After the call upload function the message of succession - and everything! In the console, firebug does not see the request. The reason?

    function uploadFile(formId, uploadControlller) {
    var ajax = {
    url: uploadControlller, // asp.net mvc controller
    form: formId, //
    isUpload: true, //
    success: function () {alert('success') }, //
    failure: function () { alert('failure') } //
    };
    Ext.Ajax.request(ajax); //
    }

    ...
    ...

    {
    xtype: 'form',
    bodyStyle: 'padding:5px',
    height: 500,
    width: 478,
    labelWidth: 150,
    labelSeparator: ' ',
    items: [self.DateBegin, self.cbKvp, self.cbKtp, self.cbKvn1, self.cbKvn2, self.txtStat,
    {
    xtype: 'form',
    id:'frmUpload',
    name: 'frmUpload',
    fileUpload:true,
    items: [self.fuDoc]
    }

    ]
    }
    ]
    ....

    if (self.fuDoc.getValue() != "") {
    uploadFile("frmUpload", "/Personnel/UploadFile");
    }

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Posts
    2
    Vote Rating
    0
    bssoft2b is on a distinguished road

      0  

    Default additional!

    additional!


    self.fuDoc = new Ext.form.FileUploadField({
    width: 200
    });

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar