title: Javascript within a user control in an UpdatePanel not running
body: <p>I have a webform which contains some LinkButtons.<br>
  When each LinkButton is clicked I want to load a different UserControl.<br>
  I also want to do it with Ajax.</p>
  
  <p>I tried it in two ways as described <a href="https://stackoverflow.com/a/3072091/1083652">here</a> and <a href="https://stackoverflow.com/a/10931323/1083652">here</a><br>
  [Both approaches use an UpdatePanel, the first adds the user control and changes its <code>Visible</code> attribute, the second uses <code>LoadControl</code> function]</p>
  
  <p>Both works (upvoted them!) but I still have a problem-<br>
  I can't run javascripts within the user controls...<br>
  It doesn't recognize any function</p>
  
  <p>When the user controls were added <em>not dynamically</em> it all went well</p>
  
  <p>The only workaround I found was to move the javascript from the user control to the page but that's not nice...</p>
  
  <p>Also tried <a href="https://stackoverflow.com/a/4416711/1083652">this</a> with no luck</p>
  
  <p>Any help will be appriciated</p>