title: Enable/Disable Required field validator from cs page?
body: <p>I have two TextBox and two Buttons in my page.</p>
  
  <p>One is hidden and the other one is displayed.</p>
  
  <p>When I click the <code>Button1</code>, it will save data of the two <code>TextBox</code> and will validate each TextBox by the <code>RequiredFieldValidator</code>.</p>
  
  <p>Then when I click <code>Button2</code>, it will just hide itself (<code>Button2</code>) and will show the hidden <code>TextBox</code>.</p>
  
  <p>Both <code>TextBox</code> has <code>RequiredFieldValidator</code> validating against <code>Button1</code>'s Event click.</p>
  
  <p>Now my issue is when I simply enter text to the 1st TextBox and click save, the button click is validating the required field for hidden field. I just want to validate the 2 textbox when it is showing.</p>
  
  <p>How can I avoid this?</p>