This is pretty easy, just create a javascript file on your webpart project or wherever you need, once its done
Then on the file reference your js scripts like this>
/// <reference name="MicrosoftAjax.js"/>
/// <reference path="file://K:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/LAYOUTS/SP.UI.debug.js" />
/// <reference path="file://K:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/LAYOUTS/SP.UI.Core.debug.js" />
/// <reference path="file://K:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/LAYOUTS/SP.UI.Dialog.debug.js" />
Once you do this, you have Intellisense!!
No comments:
Post a Comment