How to tell if you update a control on a page?
<p>If I have a checkbox, and I check it, then do something to check its value, it comes up as checked=false.</p>

<p>How can I get the checked value?</p>

<p>(Sorry about the influx of checkbox related questions, I have been tearing my hair out with a variety of problems all day)</p>

<p>Edit:</p>

<p>I am checking it in a button. In the buttons click event, it does this:</p>

<pre><code>Table t = (Table)branchesPlaceHolder.Controls[0];


            foreach (TableRow tr in t.Rows)
            {
 if (!((CheckBox)tr.Cells[4].Controls[0]).Checked)
                    continue;
.
.
.
</code></pre>

<p>So I guess since this is in a buttons click event, I have to do something with javascript like you suggest...</p>
