S
satpo
I have a file upload control in which I want to allow only pdf files.
I am using the following validation expression
"^((^$)|((([a-zA-Z]|(\\{2}\w+)\$?)(\\(\w[\w].*))(.pdf|.PDF)$))". It
works fine except when there is a server side validation fails and the
page returns with error, my file upload regular expression error
message also popsup.
Any suggestions would help.
I am using the following validation expression
"^((^$)|((([a-zA-Z]|(\\{2}\w+)\$?)(\\(\w[\w].*))(.pdf|.PDF)$))". It
works fine except when there is a server side validation fails and the
page returns with error, my file upload regular expression error
message also popsup.
Any suggestions would help.