Update panel, user Control and RegisterClientScriptInclude
<p>I have a Master page with a script manager. I have a content page with an update panel. Inside the update panel i have several User controls which initially are all visible=false. After Opening one of the User control, i have not been able to attach my js file using<br>
RegisterClientScriptInclude. I have used:</p>

<pre><code>ScriptManager.RegisterClientScriptInclude(Page, this.GetType(), "key5", ResolveClientUrl("~/js/configurator.js"));
</code></pre>

<p>on the master page, on the content page and in the user control code behind. none of which shows that the js file is being loaded. i have always been able to do this but all controls have been visible from begining.
Could someone point how to load the script so that it is available for the User Control?</p>
