title: Add user control and handle parent event c#
body: <p>I want to dynamically create an submitform containing various usercontrols that i create. </p>
  
  <p>Ex:</p>
  
  <pre><code>&lt;div class="fieldControl"&gt;
  &lt;asp:Label AssociatedControlID="TextField" runat="server"&gt;&lt;%=LabelText %&gt;&lt;/asp:Label&gt;
  &lt;asp:TextBox ID="tbText" runat="server" /&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>The controls should be added based on an xml:</p>
  
  <pre><code>&lt;Fields&gt;
    &lt;Group name="Main" text="Innhold"&gt;
      &lt;Field type="TextBox" name="Name" text="Navn"&gt;&lt;/Field&gt;
      &lt;Field type="TextBox" name="Test" text="Test"&gt;&lt;/Field&gt;
    &lt;/Group&gt;
  &lt;/Fields&gt;
  </code></pre>
  
  <p>When i on my parent control Edit.ascx clicks on the save button. I want to handle this event on every added usercontrol.</p>
  
  <p>Can you point me in what direction i should go, creating and handling save event?</p>