I used Ajax.BeginForm to sent form with input type file in umbraco to surfaceController. But I don't have files in FormCollection. It possible send file using ajax?
Asked
Active
Viewed 46 times
0
-
Which javascript framework do you use ? Angular ? JQuery ? KnockoutJs ? – Aliz Jun 12 '17 at 05:52
-
I've tried this is in the past but came to the conclusion that sending files through ajax simply does not work out of the box. See this post: https://stackoverflow.com/questions/2491230/binding-httppostedfilebase-using-ajax-beginform – Mark Jun 12 '17 at 08:59
-
Which version of Umbraco do you use? Why don't you use Umbraco Forms? – Dmitry Jun 14 '17 at 13:41