Validating filenames with regularexpressionvalidator
You can assign any name to a validation group, but you must use the same name for all members of the group.
During postback, the property is set based only on the validation controls in the current validation group.
The problem, however, is that it does not work with all browsers.
Not all browsers support Java Script, and different versions of browsers support different versions of Java Script, so client-side validation is never guaranteed to work.
Everything works great, the upload is fine, but the error message posts Jessica Cao Sincerely, Microsoft Online Community Support “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.You should be warned, however, that client-side validation works only with Microsoft Internet Explorer version 4.0 and higher. If you request a page that contains a validation control, and you are using Microsoft Internet Explorer version 4.0 or higher, Java Script code is automatically sent to your browser.In particular, the client-side scripts discussed in this chapter do not work with any version of Netscape Navigator. If, for whatever reason, you want to disable client-side form validation, you can do so by adding the following directive at the top of your page: This directive disables client-side form validation.If a browser is capable of supporting Java Script, client-side validation scripts are automatically sent to the browser.If a browser is incapable of supporting Java Script, the validation routines are automatically implemented in server-side code.