<%-- <asp:RegularExpressionValidator ID="refImage" runat="server" ControlToValidate="FileUpload1" Display="Dynamic" ErrorMessage="Upload jpg Image only" SetFocusOnError="True" ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))(.jpg|.JPG)$" ValidationGroup="1" CssClass="rfv"></asp:RegularExpressionValidator>--%>
ValidationExpression="^.+\.(([jJ][pP][eE]?[gG]))$"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)