在自定义的验证中,现在想要实现的是,当不符合自定义验证的要求时,就直接停止执行,返回到浏览器页面。protected void CustomValidator1_ServerValidate(object source, ServerVlidateEventArgs args)
{
   ……
  if(不符合要求)
  {
     Response.write("<javascrip>alert('用户名以及存在');</javascript>");
      return;
  }
}即使不符合要求的时候,执行到return之后,还是没有停止向下执行,依然执行了提交按钮button1所对应的方法
button1_Click().请问,怎么让其不执行,直接就返回啊?求教。