title: Why is this CustomValidator client function not firing?
body: <p>I have a dropdown with the Id of "BACKGROUND" and if nothing is selected or the value is other, it should fire my client side validation function, but it is not.  Am I missing something?</p>
  
  <p>I have the following client side function:</p>
  
  <pre><code>function cv26(oSrc, args) {//BACKGROUND,BG_OTHER 
              alert("cv26"); 
              var otherCtrl = document.getElementById("BG_OTHER"); 
              args.IsValid = (args.Value != " ") || (otherCtrl.value.length &gt; 0); 
          }
  </code></pre>
  
  <p>My Custom validator looks like this:</p>
  
  <pre><code>&lt;asp:CustomValidator ID="cv26" runat="server" ErrorMessage="26. Background is required." ControlToValidate="BACKGROUND"  ClientValidationFunction="cv26" Display="Dynamic" ValidateEmptyText="true"&gt;*&lt;/asp:CustomValidator&gt;
  </code></pre>