title: Validation Group
body: <p>Is it possible to get and control a validation group using javascript? I was able to validate <code>ASPxHtmlEditor</code> if empty or not, but i need to control the validation group. I'm using .net 2.0.</p>
  
  <p>EDITS [04202011]</p>
  
  <p>I need to make <code>ASPxHtmlEditor</code> a required field. I'm using an older version (10.1.6.0) of DevEx (can't update right now), but there is no validation settings for it. I used javascript to validate the editor</p>
  
  <pre><code>function validateEmptyEditor(html)
  {
     html = html.replace('&amp;nbsp;', '');
     html = html.replace('&lt;br /&gt;', '');
  
     if (html.length &lt; 1)
     {
        return false;
     }
     else
     {
        return true;
     }
  }
  </code></pre>
  
  <p>I invoked the function in <code>LostFocus</code> of <code>ASPxHtmlEditor.ClientSideEvents</code> and is working properly. But my page uses validation group for saving. So I need to manipulate validation group when <code>validateEmptyEditor</code> is invoked. Is it possible to control validation group?</p>