C# - FindControl by ID and modify some properties
<p>I'm creating some checkbox's from codebehind (adding through Panel.Controls.Add()).
My question is: How can i modify the values?</p>

<p>I've already tried creating the control, use the method FindControl and them change some properties but with no sucess.</p>

<pre><code> CheckBox c = new CheckBox();
 c.FindControl("CheckBoxP");
 c.Checked = true;
</code></pre>

<p>Any ideas? Thanks</p>
