Often designer integrators want to make use of jQuery, loading this directly into pages is likely to conflict with other elements or application features that also use jQuery and load our own embedded libraries.
Please avoid calling jQuery independently as this may cause conflicts with features such as the page explorer side bar.
We currently provide jQuery 1.8.3 and jQueryUI 1.9.1 – we update the libraries once or twice a year. They cannot be updated by request for a specific project.
To load these libraries from your Styles please use the following code in the Default.aspx file.
<%@ Import Namespace="EasySite.PageRequirements" %>
<script type="text/C#" runat="server">
protected override void OnPreRender(EventArgs e) {
base.OnPreRender(e);
PageRequirementsHelper helper = new PageRequirementsHelper();
helper.JavascriptProxy.RegisterFramework(ClientFramework.JQueryCore);
helper.JavascriptProxy.RegisterFramework(ClientFramework.JQueryUi);
// If you want jQueryUI
}
</script>
It is possible to load concurrent libraries using a non-conflict approach through aliasing: http://api.jquery.com/jQuery.noConflict/