title: Override WebForm_OnSubmit
body: <p>I need to display Validation Messages in the Validation Summary as well as show them in a  separate popup.
  In order to do that I am thinking of overriding WebForm_OnSumbit method.</p>
  
  <pre><code>function WebForm_OnSubmit() {
        if (typeof (ValidatorOnSubmit) == "function" &amp;&amp; ValidatorOnSubmit() == false) {
           showErrorPopup();
           return false;
        }
      return true;
     }
  
     function showErrorPopup()
     {
       //Get the validation message text and append it to error popup div.
     }
  </code></pre>
  
  <p>Is it advisable to do so?
  or is there any other way to achieve it?</p>