title: Event registration on dynamically added controls added in postback
body: <p>I have a placeholder which I am adding some WebUserControls to. The WebUserControl only has a button in with an onClick.</p>
  
  <pre><code>&lt;asp:Button ID="bMyButton" runat="server" OnClick="MyButtonOnClick" CausesValidation="false" /&gt;
  </code></pre>
  
  <p>When I add the WebUserControls to the page on Page_Load all works fine. The problem is that I have some filters do that post backs which call <code>ApplyFilters()</code>. I need to reload the items in this method based on the filters selected (the values of the filters haven't yet updated in the Page_Load event) but <code>MyButtonOnClick</code> event doesn't fire when I do this because they have been added to the page to late in the Life Cycle.</p>
  
  <p>Anyone have any idea about a work around?</p>
  
  <p>p.s I haven't pasted much code because I have simplified my example to explain what is happening during debugging. Let me know if you need more info.</p>