title: C# check/uncheck checkbox in WebBrowser control?
body: <p>This is my code:</p>
  
  <pre><code>webBrowser1.Document.GetElementById("user").SetAttribute("value", txtUsername.Text);
  webBrowser1.Document.GetElementById("pass").SetAttribute("value", txtPassword.Text);
  webBrowser1.Document.GetElementById("rememberme").SetAttribute("checked", cbAutoLogin.Checked.ToString());
  </code></pre>
  
  <p>The username and password is ok I don't have any problem, but the check is not working. The problem is not on the cbAutoLogin.Checked.ToString(), even if I write true or false nothing change.</p>
  
  <p>Here is the checkbox on html</p>
  
  <pre><code>&lt;input type='checkbox' id='rememberme' checked='checked' name='rememberme' value='1' class='input_check' /&gt;
  </code></pre>
  
  <p>Anyone else have the same problem? Or I do something wrong?</p>