ASP.net - Adding a control in code, how do I get it via FindControl()?
<p>I create a table in code, add rows and then cells to it. In each cell there is a checkbox which has an ID I set.</p>

<p>I add this table to an updatepanel, and later on I want to find out which checkboxes the user has checked/unchecked.</p>

<p>I don't know the best way, so what I did was create a button that checks. I kept a refernece to the checkboxes, and tried changing the checkedvalue in code, but this did not update my webpage. I figure it loses the reference once it is added in code.</p>

<p>So I tried to use Page.FindControl and passed the original ID I gave it, but it doesn't find it. I am guessing this is because it puts a load of crap before the ID before adding it to the page...</p>

<p>So basically, what do I do to check the if the checkboxes I added have been altered or not? A CheckedChange event didnt work either.</p>
