Posted By

rumremix on 08/18/10


Tagged

javascript link script manager sharepoint master-page


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jplr
jlaws0n


sharepoint master page script link


 / Published in: ASP
 

must be placed inside a form tag with runat=server, that is, beneath

<form>

  1. <!-- handles SharePoint scripts -->
  2. <asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" >
  3. <Scripts>
  4. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/jquery-1.5.min.js%>"></asp:ScriptReference>
  5. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/jquery.SPServices-0.5.6.min.js%>"></asp:ScriptReference>
  6. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/LITP.js%>"/>
  7. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/lilly.scrollfix.js%>"></asp:ScriptReference>
  8. </Scripts>
  9. </asp:ScriptManager>

Report this snippet  

You need to login to post a comment.