Problem :
I am using the ipFileToUpload control in ASP.Net to File To Upload .
i have given the ValidationExpression for .gif, .Pdf, etc.....
if i am browsing the application in IE7 it is working.
But It is not working in IE8 and safari.
Solution :
Issue is with your ValidationExpression. So just paste this bellow bold line in ValidationExpression ..... see it will work on all the browser..
ValidationExpression="^.+\.((gif)|(GIF)|(jpeg)|(JPEG)|(tif)|(TIF)|(jpg)|(JPG)|(bmp)|(BMP)|(txt)|(TXT)|(doc)|(DOC)|(xls)|(XLS)|(rtf)|(RTF)|(pdf)|(PDF))$"
Wednesday, April 22, 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment