I have a FileUpload control along with a required field validator. It throws an error if the user doesn’t click the Browse button to select a file (which is correct). However, if the user clicks the Browse button, but doesn’t click the Upload button, ASP.NET’s required validator doesn’t throw an error. Any ideas how to fix?
Share
Why not use a CustomValidator instead of a RequiredFieldValidator?