15 Aug 2011
06 Apr 2012
Link to this post
We use a lot of our own made widgets which require jQuery on our website. Because most pages don't include a Sitefinity widget we include it ourselves in the masterpage.
The problem is that when we do include a Sitefinity widget together with our own widgets jQuery gets loaded in twice and breaks our widgets (<function> is not a function for example.)
Is there a way in .NET to exclude the sitefinity version of the jQuery?
Another possibility is to use the scriptmanager so instead of linking to our own file we can use the integrated Sitefinity jQuery, problem is that this also loads a whole lot of other (unused) scripts which makes loading times too long. Is there a way to tell the scriptmanager which scripts to load and more importantly, which not to load?