How to get a control reference from .ascx on a .aspx page?
<p>I have a wizard setup like so:</p>

<pre><code>&lt;asp:Wizard ID="Wizard1" runat="server" DisplaySideBar="false" onnextbuttonclick="OnNextButtonClick"&gt;
       &lt;WizardSteps&gt;
           &lt;asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1"&gt;
            &lt;div class="content"&gt;
                &lt;asp:PlaceHolder ID="PlaceHolder1" runat="server"&gt;&lt;/asp:PlaceHolder&gt;
            &lt;/div&gt;
           &lt;/asp:WizardStep&gt;
           &lt;asp:WizardStep ID="WizardStep2" runat="server" Title="Step 2"&gt;
               &lt;div class="content"&gt;
                   &lt;asp:PlaceHolder ID="PlaceHolder2" runat="server"&gt;&lt;/asp:PlaceHolder&gt;
               &lt;/div&gt;
           &lt;/asp:WizardStep&gt; ...more
</code></pre>

<p>and then on the prerender of that page I add the controls like so:</p>

<pre><code>protected void Wizard1_PreRender(object sender, EventArgs e)
{
    PlaceHolder1.Controls.Add(LoadControl("Control1.ascx"));
    PlaceHolder2.Controls.Add(LoadControl("Control2.ascx"));
    PlaceHolder3.Controls.Add(LoadControl("Control3.ascx"));
    ...more controls added
 }
</code></pre>

<p>and on the .ascx control I have a ajaxToolkit:TabContainer that I want to access like this:</p>

<pre><code>&lt;ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0"&gt;  
            &lt;ajaxToolkit:TabPanel ID="TabPanel1" HeaderText="PRV 1" runat="server"&gt;
</code></pre>

<p>So what I want to do is stop the wizard from going to the next step and move the ajaxtoolkit:Tabcontainer to the next tab.  I am accessing the nextbutton like so:</p>

<pre><code>protected void OnNextButtonClick(object sender, WizardNavigationEventArgs e)
{
     if(Wizard1.ActiveStepIndex == 2)
     {
          e.Cancel = true;
          //get ajaxToolKit:tabcontrol here
     }
}
</code></pre>

<p>Any ideas on how to access the TabControl in the OnNextButtonClick function? This is a asp.net webapplication.</p>
