PDA

View Full Version : FileUpload in Extjs 4



chandran09
22 Oct 2011, 12:32 AM
Hi.,
I'm new to the Extjs. I want to upload a file into my form when clicking the 'upload' button in that form.
I'm in need of a file upload function and also want to add that uploaded file to the form itself

stevil
24 Oct 2011, 11:51 AM
Hi.,
I'm new to the Extjs. I want to upload a file into my form when clicking the 'upload' button in that form.
I'm in need of a file upload function and also want to add that uploaded file to the form itself

Have you tried Ext.form.field.File (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.File) yet? You put it into an Ext JS form, and when the form is submitted, it will upload the content.