PDA

View Full Version : [CLOSED] [Razor] FormPanel and FileUpload?



Timothy
May 07, 2012, 5:08 PM
Hello,

Just noticed that FileUpload property is missing from the FormPanel. How would one indicate that the content being submitted is a file upload in Razor?

I've just got a simple FormPanel with a FileUploadField and a Button to submit.

Cheers,
Timothy

Timothy
May 07, 2012, 9:05 PM
I was able to resolve this one, looks like it's on the DirectEvent itself.

Cheers

Daniil
May 08, 2012, 10:26 AM
Hi,

Yes, there is no need in FileUpload property anymore. It's managed automatically, more details:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.Basic-method-hasUpload (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.form.Basic-method-hasUpload)

Timothy
May 08, 2012, 12:44 PM
Thanks! Please close.

Cheers,
Timothy