How to give validation for jpg or jpeg image using validation control in asp.net
Can any please help me to place validat开发者_如何学Pythonion for fileupload control to accept only jpg and jpeg image format only using validation control in asp.net
Why not to write your own custom validator (server side validation) or a very simple jquery check binded to onclientclick (client validation) ?
^(([a-zA-Z]:)|(\{2}\w+)\$?)(\(\w[\w].*))+(.jpg|.png|.gif)$
use Regular Expression validator.... this as a validation expression
精彩评论