Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

SharePoint jQuery deployment feature

After reading Jan Tielen's blog entries Integrating SharePoint 2007 and jQuery Part One and Part Two I wrote a simple SharePoint solution on Visual Studio 2008 that installs jQuery scripts to SharePoint.

Features

  • Deploys jQuery standard and minified versions to SharePoint site.
  • Deployment script activates only Packed version, so you don't get three parallel versions of jQuery activated at same time.
  • Features use AdditionalPageHead Delegate control and you don't have to modify any page or master page to get scripts included.

Downloads

Notes

Beofre deployment change the URL of SharePoint site in setup.bat. When using source don't forget to change deployment URL under project properties Build tab.

Licence

There is no licence from me. Feel free to download the source and deployment package and modify these how you like. jQuery is under MIT Lince, so don't break the rules of this licence. Enjoy! :)

Posted: Dec 12 2008, 10:58 PM by DigiMortal | with 11 comment(s)
Filed under:

Comments

Waldek Mastykarz said:

Have you considered including the jQuery version hosted by Google? It turns out that it results in less maintenance and faster loading of the site (encosia.com/.../3-reasons-why-you-should-let-google-host-jquery-for-you).

# December 13, 2008 9:18 AM

Dew Drop - December 13, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - December 13, 2008 | Alvin Ashcraft's Morning Dew

# December 13, 2008 12:22 PM

Links (12/14/2008) « Steve Pietrek - Everything SharePoint said:

Pingback from  Links (12/14/2008) « Steve Pietrek - Everything SharePoint

# December 14, 2008 7:05 PM

~ YESChandana ~ said:

Hot links - 2nd Week of December 2008

# December 16, 2008 4:08 AM

SharePoint ClientSide Extensions « Nik Codes said:

Pingback from  SharePoint ClientSide Extensions « Nik Codes

# December 16, 2008 5:51 PM

Drew K said:

i am getting a 'project type not supported by this installation' error. what project type was used? thanks!

# March 19, 2009 1:45 PM

Christian Poirier said:

I have the same error as Drew K. What project template should I install first?

# May 12, 2009 11:20 AM

praveen.battula said:

Hi,

Nice one. I wrote a small post on integrating the JQuery in SharePoint. Which deals with how to add JQuery file and access it.

praveenbattula.blogspot.com/.../jquery-integration-in-sharepoint.html

-Praveen.

# May 29, 2009 2:14 AM

Alonso Robles » Blog Archive » jQuery and jCarousel in SharePoint - technology, academia, and other tidbits from the trenches of a boggled mind said:

Pingback from  Alonso Robles  » Blog Archive   » jQuery and jCarousel in SharePoint - technology, academia, and other tidbits from the trenches of a boggled mind

# June 24, 2009 2:17 PM

SharePoint jQuery deployment feature « n0rpa said:

Pingback from  SharePoint jQuery deployment feature «  n0rpa

# April 7, 2010 8:42 AM

weblogs.asp.net said:

Sharepoint jquery deployment feature.. Dandy :)

# June 25, 2011 2:09 PM