I have a Master Page in the root of my project. I have Content Pages throughout my project and in subfolders referencing this Master Page. What is the correct way to refer
You can make the tag to run at server so Asp.Net will resolve the URL for you like this:
(Notice the '~')
I don't know if it can be applied to the tag though, you should try...
EDIT: I discovered recently on a project that you can (and should) use a ScriptManager
to hold your scripts (you can only have 1 per page). You can put one in your MasterPage and reference all your scripts. Inside your content page, you then add a ScriptManagerProxy
that will 'reference' the scripts on the master page and you can even add other scripts for that content page only.