From what you described, it looks like you are using server side validation. Try setting it EnableClientScriptto false in the validator, which will disable client-side validation.
If this is not enough, you can override the check when you click the submit button as follows:
<script type="text/javascript">
validateForm = function(){
var isValid = Page_ClientValidate("");
if (isValid){
}
return true;
}
</script>
<asp:Button ID="Button1" runat="server" OnClientClick="return validateForm();" ... />
source
share