We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

AllowMultipleFiles(false) don't work in UploadBox

HI, I need to only add one file in uploadbox, but the property allowmultiplefiles dont't work for my. 

This is my code: 
@{       
    @Html.Syncfusion().UploadBox("Name").AllowMultipleFiles(false).AsyncUpload(a =>a.SaveAction("Save", "FileUpload", new {controlId=@Model.Name} ).RemoveAction("Remove", "FileUpload").AutoUpload(true))
}

If I set AllowMultipleFiles = true or I set AllowMultipleFiles=false the behaviour is the same in this control.

What can I Do?


3 Replies

VR Varalakshmi R.S Syncfusion Team November 19, 2012 05:38 AM UTC

Hi German,

 

Thanks for contacting Syncfusion forums.

 

Multiple file selection is supported only in the browsers Firefox(3.6 and above),Chrome and Safari. Please refer the following link to know more details on browser compatibility,

http://help.syncfusion.com/UG/User%20Interface/ASP.NET%20MVC/Tools/documents/browsercompatibility.htm

 

Also, please refer the below given online sample link which exhibits the behavior of multiple file selection,

http://mvc.syncfusion.com/demos/ui/tools/UploadBox/CoreFeatures

 

Regards,

Varalakshmi



CA Carlos replied to Varalakshmi R.S December 7, 2016 03:44 PM UTC

Hi German,

 

Thanks for contacting Syncfusion forums.

 

Multiple file selection is supported only in the browsers Firefox(3.6 and above),Chrome and Safari. Please refer the following link to know more details on browser compatibility,

http://help.syncfusion.com/UG/User%20Interface/ASP.NET%20MVC/Tools/documents/browsercompatibility.htm

 

Also, please refer the below given online sample link which exhibits the behavior of multiple file selection,

http://mvc.syncfusion.com/demos/ui/tools/UploadBox/CoreFeatures

 

Regards,

Varalakshmi


Hi, 
I have the same problem here using Essential Studio

My code:

        @Html.EJ().Uploadbox("ProductImage").MultipleFilesSelection(false).AsyncUpload(false).ShowBrowseButton(false).ShowFileDetails(true).ExtensionsAllow(".png,.jpg,.gif").FileSize(3145728).UploadBoxButtonText(text => text.Browse("Choose File"))

but it enable users to select multiple files :(

Any help will be aprecciated


PO Prince Oliver Syncfusion Team December 8, 2016 12:47 PM UTC

Hi German, 

Thanks for contacting Syncfusion support. We have created a new incident for your reported issue please use your Direct-Trac account to follow up on the incident. 

Regards, 
Prince 


Loader.
Live Chat Icon For mobile
Up arrow icon