ASP.Net FileUpload not working in google chrome
Posted
by Jignesh
on Stack Overflow
See other posts from Stack Overflow
or by Jignesh
Published on 2010-04-23T02:33:54Z
Indexed on
2010/04/23
2:43 UTC
Read the original article
Hit count: 912
ASP.Net FileUpload not working in google chrome.It shows validation error,even after choosing right file type.Any solution ?
Here is a code :
<asp:FileUpload ID="FU1" runat="server" />
<asp:RegularExpressionValidator
id="FileUpLoadValidator" runat="server"
ErrorMessage="Upload jpg and gif only."
ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))(.jpg|.JPG|.gif|.GIF)$"
ControlToValidate="FU1">
</asp:RegularExpressionValidator>
© Stack Overflow or respective owner