Skip to main content
6 events
when toggle format what by license comment
Jun 6, 2014 at 18:08 comment added Hugh Wood You can also call scriptlink / scriptblock from a custom action, which is my preferred choice of adding to the page, much less code than a delegate control. Although a delegate control does give you more control with the scriptmanager
Apr 10, 2014 at 9:02 comment added user2536 Love your answer. Just another best-practice tip: Instead of putting the link to the javascript directly in the masterpage, create a usercontrol which has the link to the javascript files and make user it gets loaded into the AdditionalPageHead delegate control. This way you can load the javascript files into ANY SharePoint masterpage without having to modify the masterpages. Create a feature which loads the usercontrol into the delegate control and you now have 100% full control over whenever the files should get loaded.
Mar 4, 2014 at 6:14 history edited Hugh Wood CC BY-SA 3.0
added 437 characters in body
Mar 3, 2014 at 15:31 history edited Hugh Wood CC BY-SA 3.0
added 142 characters in body
Mar 3, 2014 at 15:03 history edited Hugh Wood CC BY-SA 3.0
added 670 characters in body
Mar 3, 2014 at 12:26 history answered Hugh Wood CC BY-SA 3.0