Posted on: 1/7/2015 4:32:23 PM | Views : 556

So right now my email validation works, so if the email address is not in email format it shows message ..however when I go and type an actual email in the validator message still appreas so I cant click my button to save it?
Email:<input type="text" class="textbox" runat="server" style="float: right; background-color: grey;" id="txtEmail2" /><asp:Button Text="" ID="btn2" runat="server" class="btn2" /></div> <asp:RegularExpressionValidator ID="YourRegularExpressionValidator" runat="server" ControlToValidate="txtEmail2" ErrorMessage="Please enter a valid e-mail address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"> ...

Go to the complete details ...