title: How to handle validation when JavaScript is disabled in ASP.NET
body: <p>I'm using some of the typical ASP.NET's Validation Controls in my website. Now I'm trying to disable the <code>JavaScript</code> in my browser to test my application and of course the <code>Validation Controls</code> no longer works. I think it's best to try to make them work using one of the suggested solutions down here instead of reinvesting the wheel and build a validation layer for the page or my objects <em>-Am I thinking right?-</em></p>
  
  <p>What do you think of these options and why:</p>
  
  <ol>
  <li><p>Include in clicked button's event a code to check if the page is valid and if not explicitly call the <code>Page.Validate();</code> method</p></li>
  <li><p>Check if whether the JavaScript is enabled and if not I should call <code>Page.Validate();</code></p></li>
  </ol>
  
  <p>If you there's a better way to do it please let me know.</p>