title: how to check if validationgroup passed?
body: <p>Currently working with UserControls. </p>
  
  <p>Have this button : </p>
  
  <pre><code>&lt;dx:ASPxButton ID="btnSave" runat="server" Text="Save" CssClass="btn btn-active" ValidationGroup="MyValidationGroup" OnClick="BtnSaveClick"&gt;
  </code></pre>
  
  <p>I inherited this code from my team mates. </p>
  
  <p>Recently i discovered that if button is clicked multiple times, it duplicates the record.</p>
  
  <p>I tried to add  </p>
  
  <pre><code>btnSave.ClientEnabled = false; 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>btnSave.Enabled = false;
  </code></pre>
  
  <p>into the code behind, but it's not preventing from duplicating the records.</p>
  
  <p>How to check if validation group passed (successfully) into jquery or javascript, than disable the button on the front end ?</p>
  
  <p>Any idea ?</p>