If you are using ASP.NET 2.0 master pages and utilizing ASP.NET AJAX framework, you may want to include the ScriptManager control on your master page instead of on individual pages. However when referencing other JavaScript files, you may run into problems. You would also need to reference all the files that you will use within the pages, even on those that that do not utilize these files.
There can only be one ScriptManager control per page.
To add JavaScript files to pages when necessary, add the ScriptManagerProxy control: <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<Scripts>
<asp:ScriptReference Path="MyJavaScriptFile.js" />
</Scripts>
</asp:ScriptManagerProxy>
The ScriptManagerProxy control provides ScriptManager functionality when there is already another ScriptManager present.