Category Archives: JavaScript

Dynamically load JavaScript file

Sometimes you don’t always want a JavaScript file to load. If, for instance, a control that utilises it is loaded by a page that already references the same JavaScript file, you wouldn’t want to load the script file again. Note: … Continue reading

Posted in JavaScript | Tagged , | Leave a comment

Unable to set value of the property ‘aSettings’

I developed a page, inheriting from LayoutsPageBase which was being displayed in a modal dialog using JavaScript similar to the following: <script type="text/javascript"> function DisplayCustomPopupPage() { var options = SP.UI.$create_DialogOptions();   options.url = "http://urltocustompage/page.aspx"; options.title = "Popup Page"; options.allowMaximize = … Continue reading

Posted in JavaScript, SharePoint | Tagged , | 2 Comments

Hide All Site Content Link

Looking for a straight forward and relatively easy way of hiding the All Site Content link from the quick launch area? All you need to do is create a feature, manisfest file and user control that contains the script to … Continue reading

Posted in JavaScript, SharePoint | Tagged , | Leave a comment