I had a problem where I wanted to use the intellisense version of JQuery when I am writing the code, the normal version when I debug it and the minified when it actually hits production.
I also wanted all this done on my master page so the path to the js file had to be relative to the site root and not the page it was defined on.
I found the solution here:
http://damianedwards.wordpress.com/2009/03/28/setting-up-jquery-for-aspnet-web-forms-projects/
It essentially revolves around using the script manager to reference the JS files and using naming conventions so it knows which one to open where.
Edit: Don’t forget to download the hotfix or the -vsdoc won’t work.
Related posts:
- jQuery Grid Plugin (JqGrid) with ASP.Net Web Forms Get JqGrid here: http://www.trirand.com/blog/ So far I’ve seen two implementations...
- Official JqGrid ASP.Net Web Forms Control Alpha Demo First look at the official JqGrid ASP.Net Web Forms control...
- Redirecting using strong types in an asp.net web application project It recently began to annoy me that every time I...
- Reducing the size of your ViewState in asp.net web forms Very useful article on how to reduce your ViewState size....
- Web Deployment Project IIS Deploy error on Team Foundation Server I got the following on build until recently. Initializing IIS...
Related posts brought to you by Yet Another Related Posts Plugin.