Uploader for single file not woking

I need an uploader that only allows a single file to upload.

I'm using this HTML Helper: 
@Html.EJS().Uploader("ImageFileName").DropArea("control-fluid").Multiple(false).Render()
The UI works fine but the POST request param comes emtpy like this:


-----------------------------187161971819895
Content-Disposition: form-data; name="ImageFileName"; filename=""
Content-Type: application/octet-stream

-----------------------------187161971819895--

Can you fix .Multiple(false) option? If I set the argument to true it works well but it's not the UI behavior that I need.








1 Reply

KR Karthik Ravichandran Syncfusion Team June 19, 2018 08:49 AM UTC

Hi Nuno, 
 
Sorry for the inconvenience caused. 
 
We have already fixed this issue internally “The upload value is empty when enable single file upload within form” in our end. The fix for this issue will be included in our upcoming main release for volume 2, 2018 which is expected to be rolled out on last week of this month.  
 
Please be patient until then. 
 
Regards, 
Karthik R 


Loader.
Up arrow icon