PDA

View Full Version : Load a store after successful submit of form



17 Nov 2010, 10:35 PM
I am having a file uploader in my form . I am submitting this form on a button click . After success , I want to load a store . But , I am not able to get into success or failure of form.submit .

c.get(0).get(6).get(1).getForm().submit({
url: 'ClientSetup.aspx?x=import&name=' + CompanyDetailsStore.getAt(0).get('Company_Name'),
success: function (form, action) {
FailedGridStore.load();
}
});