Click here to Skip to main content
16,022,335 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
Hi All,

The attribute multiple of File Upload control is not working in IE
XML
<asp:FileUpload runat="server" ID="flu" multiple="multiple" />


Could anybody has idea why i could not able to select multiple file using file upload control in Internet Explorer?

Any answer will be appreciated!!:rose:

Thanks in Advance,
Imdadhusen
Posted
Comments
Ankur\m/ 9-Nov-10 4:50am    
Are you sure FileUpload Control in ASP.NET has this attibute? The link below doesn't show me anything like that.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx
thatraja 9-Nov-10 8:07am    
I second Ankur.....there is no such property for asp:FileUpload control.
Sunasara Imdadhusen 10-Nov-10 0:12am    
Right, in asp.net file upload doesn't have attribute multiple but using this attribute i am able to select multiple files except IE.

XML
Include the below meta tag inside the head section of your document before everything else.
<meta http-equiv="X-UA-Compatible" content="IE=edge">

Or you can do it in the web.config file by sending a custom header.
<system.webServer>
   <httpProtocol>
      <customHeaders>
         <add name="X-UA-Compatible" value="IE=edge" />
      </customHeaders>
   </httpProtocol>
</system.webServer>
 
Share this answer
 
The FileUpload control doesn't allow multiple file uploads.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900