C# Foreach usercontrols I added to a page
<p>I've got this code:</p>

<pre><code>    protected void ddlTemplate_SelectedIndexChanged(object sender, EventArgs e)
{
    Template t = new Template();
    t.LoadById(Convert.ToInt32(ddlTemplate.SelectedItem.Value));
    foreach (Widget w in t.TemplateWidgets)
    {
        UserControls_Widget ucWidget = (UserControls_Widget)LoadControl("~/UserControls/ucWidget.ascx");
        ucWidget.WidgetTitle = w.Name;
        ucWidget.Parameters = w.Parameters;
        pnlWidgets.Controls.Add(ucWidget);
    }

}
protected void lnkSubmit_Click(object sender, EventArgs e)
{

    foreach (Control cc in pnlWidgets.Controls)
    {

    }
}
</code></pre>

<p>Basically I'd like to foreach the Widgets I added to the page in the ddlTemplate_SelectedIndexChanged event. So the question is how do I get the UserControls I added.</p>
