Javascript file source path trick for web page in folders
If a master page is used as the master of a page in a sub folder, the javascript file must be referenced as following in the master page <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script> If it is referenced as (without the "/" at the befginning of the path, which indicates the relative path to the root) <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script> All pages in the subfolder will not be able to access this javascript file. This style indicates the relative path to the current page. Stylesheet of master page can be indicated as following <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />