skip to main |
skip to sidebar
How to check that the file which user is uploading should be only word file using asp.net RegularExpressionValidator?
ControlToValidate="FileUpload" Display="Dynamic" ErrorMessage="Upload a valid file"
ValidationExpression="^.+(.DOC|.DOCX|.doc|.docx)$">
No comments:
Post a Comment