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.
Unfortunately, activation email could not send to your email. Please try again.

AllowMultipleFiles(false) don't work in UploadBox

Thread ID:

Created:

Updated:

Platform:

Replies:

105715 Nov 15,2012 08:43 AM Dec 8,2016 07:47 AM ASP.NET MVC (Classic) 3
loading
Tags: UploadBox
German
Asked On November 15, 2012 08:43 AM

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?


Varalakshmi R.S [Syncfusion]
Replied On November 19, 2012 12:38 AM

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


Carlos
Replied On December 7, 2016 10:44 AM

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

Prince Oliver [Syncfusion]
Replied On December 8, 2016 07:47 AM

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;