title: Getting data back from a dynamically created control within an asp:panel
body: <p>I'm currently trying to create a web based wizard tool. I have a Wizard page that contains navigation buttons and an asp panel that will contain the individual wizard panels.</p>
  
  <pre><code>&lt;asp:Panel ID="wizardControlPanel" runat="server"&gt;
     &lt;!-- Wizard panel goes here  --&gt;
  &lt;/asp:Panel&gt;
  &lt;asp:Button ID="backButton" runat="server" Text="&amp;lt; Back" OnClick="BackButton_Click" /&gt;
  &lt;asp:Button ID="nextButton" runat="server" Text="Next &amp;gt;" OnClick="NextButton_Click" /&gt;
  &lt;asp:Button ID="cancelButton" runat="server" Text="Cancel" PostBackUrl="~/"/&gt;
  </code></pre>
  
  <p>One control dynamically fills a checkboxlist</p>
  
  <pre><code>&lt;asp:Label ID="Title" runat="server" Text=""&gt;&lt;/asp:Label&gt;
  &lt;asp:Label ID="DescriptionLabel" runat="server" Text ="Description for the wizard"&gt;&lt;/asp:Label&gt;    
  &lt;asp:CheckBoxList ID="ProjectSelector" runat="server" DataTextField="ProjectName" DataValueField="Id" &gt;&lt;/asp:CheckBoxList&gt;
  </code></pre>
  
  <p>I dynamically load this control into my wizardControlPanel once the checkbox is populated.</p>
  
  <pre><code>WizardControl = (BaseWizardControl)LoadControl(("~/Views/" + e.ControlType.Name + ".ascx"));
  wizardControlPanel.Controls.Add(WizardControl);
  </code></pre>
  
  <p><strong>The problem is; on postback I then need to be able to find out which checkboxes were checked server side, but the control no longer exists.</strong>
  I can't find it on the _page variable. Running in to problems (I think) because I am adding the control to a content holder. How can I get this control back?</p>