why my js is not loaded on postback?
<p>I have a drop down list which is enhanced trough some js script. This DropDownList is inside an UpdatePanel like this:</p>

<pre><code> &lt;asp:UpdatePanel ID="upStoreDetails" runat="server" UpdateMode="Always"&gt;
    &lt;ContentTemplate&gt;
        &lt;asp:DropDownList ID="dropRestaurants" runat="server" CssClass="styleCB" AutoPostBack="true" OnSelectedIndexChanged="ddlTenant_SelectedIndexChanged"&gt;
        &lt;/asp:DropDownList&gt;
        &lt;uc:popuptenantdescription id="popupTenantDescriptionControl" runat="server" /&gt;
    &lt;/ContentTemplate&gt;
&lt;/asp:UpdatePanel&gt;
</code></pre>

<p>I've already register the script for it:</p>

<pre><code>protected void Page_PreRender(object sender, EventArgs e)
{
    loadJs();
}

private void loadJs()
{
    Type cstype = this.GetType();
    String scriptName = "cufon-yui";

   if (!Page.ClientScript.IsClientScriptIncludeRegistered(cstype, scriptName))
    {
        Page.ClientScript.RegisterClientScriptInclude(this.Page.GetType(), scriptName, VirtualPathUtility.ToAbsolute("~/js/cufon-yui.js"));
   }
}
</code></pre>

<p>which is succesfully inserted when the page is loaded first.</p>

<p>But, on postback (selectedIndexChanged event of <code>asp:dropDownList</code>) the style applied to the drop list is lost... Do you see any reason why?</p>

<p>Thanks!</p>
