I been trying to upload File throught WCF using ExtJS here a snippted of my code
browseFile = new Ext.ux.form.FileUploadField({
id: 'form-file',
name: 'BrowseFile',
fieldLabel: 'Browse',
allowBlank: false,
maxLength: 8000,
emptyText: ''
});
added to the form and use the fileupload:true property too but havent been able to pass the byte stream into the WCF Service Layer
formPanel.getForm().submit(
{
url: 'svc/' + entityService + '/' + (isNewRecord ? 'Create' : 'Update'),
waitMsg: 'Please wait...',
waitTitle: 'Submiting data',
params:
{
fileData: Ext.getDom('form-file').getValue()
},