title: Customvalidator control - SetFocusOnError="True" not working for CheckboxList
body: <p>I am validating a checkbox list using custom validator and jquery to check required validation, its validating fine but its not getting focus on error. </p>
  
  <p>the asp.net for CheckBoxList and CustomValidator is : </p>
  
  <pre><code>&lt;asp:CheckBoxList ID="cblSellerCategories" 
   runat="server" 
   RepeatDirection="Horizontal"&gt; 
  &lt;/asp:CheckBoxList&gt;
  
  
  &lt;asp:CustomValidator ID="CustomValidator2" 
   runat="server"
   ClientValidationFunction="CheckSellerCategory"
   CssClass="errorBox" 
   ErrorMessage="Select seller type" 
   SetFocusOnError="True"&gt; 
  &lt;/asp:CustomValidator&gt;
  </code></pre>
  
  <p>and Jquery is </p>
  
  <pre><code>function CheckSellerCategory(sender, args) {
  args.IsValid = false;
  $("[id$='cblSellerCategories']").find(":checkbox").each(function () {
      if (jQuery(this).attr("checked")) {
          args.IsValid = true;
          return;
      }
  });
  }
  </code></pre>
  
  <p>How to get focus on error(if any check box is not selected). I tried with validation group as well but no luck.</p>