In a SharePoint website, the code below is contained within a user control:
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "jquery144", "<script type=\"text/javascript\" src=\"/_layouts/Unicre.Web.RUOnline.Controlos/Scripts/jquery-1.4.4.min.js\"></script>", false);
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "javascriptgeral", "<script type=\"text/javascript\" src=\"/_layouts/Unicre.Web.RUOnline.Controlos/Scripts/javascript.js\"></script>", false);
Why is it not functioning as expected? Additionally, I cannot locate the corresponding script tags in the HTML output of the response.
The issue seems to be related to an update panel. When there is a partial postback, the Javascript ceases to work. Is this behavior supposed to happen despite using the above code?
(I also attempted to use the RegisterClientScriptInclude method with no success.)