title: Custom Validator Error
body: <p>I tried creating a custom validator to validate a checkbox and got this error:
  "Control 'cbVerify' referenced by the ControlToValidate property of 'CustomValidator1' cannot be validated."</p>
  
  <p>Here is the front end code i have for this:</p>
  
  <pre><code>&lt;li&gt;
    &lt;asp:CheckBox ID="cbVerify" runat="server" Text="I certify that the information entered on this form is correct and accurate."  /&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Please check" Display="Dynamic" ControlToValidate="cbVerify" OnServerValidate="CustomValidator1_ServerValidate" CssClass="ValidationError"&gt;&lt;/asp:CustomValidator&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>Back end:</p>
  
  <pre><code> protected void CustomValidator1_ServerValidate(object source, ServerValidateEventArgs args)
   {
       args.IsValid = cbVerify.Checked ;     
   }
  </code></pre>
  
  <p>Could i get some help figuring this out?</p>