title: Does javascript ValidatorEnable still supports in ASP.Net 4.0?
body: <p>I would like to disable a <code>RequireFieldValidator</code> control by a certain condition.</p>
  
  <p>I have tried this code</p>
  
  <pre><code>function doSomething()
  {
    var myVal = document.getElementById('RequiredFieldValidator1');
    ValidatorEnable(myVal, false); 
  }
  </code></pre>
  
  <p>The result is, this function make the validation message disappear but the validation still fire when we post-back.</p>