title: Registering a dynamic javascript after an UpdatePanel's update
body: <p>I have a page with a dynamicly created javascript (the script is pretty static really, but the value of its variables are filled based on user input).</p>
  
  <p>The result and the controls to take user input is inside an UpdatePanel which updates itself on certain user intputs. Some of these userinputs cause changes in the variables i spoke of earlier so i need to register a new javascript.</p>
  
  <p>The problem ofcourse is that only the updatepanel gets updated and the scripts are registred outside  the update panel so no new scripts are added.</p>
  
  <p>What do you think would be best practice now? I could solve this by letting this script (and variables) live <em>inside</em> the updatepanel or i could make sure the page is fully reloaded when the need for posting a new javascript arises? The ScriptManager that i already have on the page might be able to help me with this...</p>
  
  <p>So i'm looking for someone who either had similar problems and solved them in a nice way, or just someone with some bright ideas :)</p>