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

Why extensions-allow property in the upload box does not work in Edge browser ?

Platform: ASP.NET Core |
Control: UploadBox

In the UploadBox control, the input upload element uses “accept” attribute to allow only specified file types, when the extensions-allow property is set in the control. The input element’s “accept” attribute is not supported in Edge browser. Refer to the following MSDN link.


Consider the following example,


In the previous code, the extensions-allow property is set to ".pdf". So, the accept attribute will be set to “.pdf” in the Upload’s input element. This will not work in Edge browser and when selecting the files, all file types will be displayed. If any other file type is selected instead of PDF, it will not be received by the controller. If the selected file is PDF document, then it will be uploaded properly. 


2X faster development

The ultimate ASP.NET Core UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile