In my ASP.NET 3.5 / C# project, I have a master page in the root folder (MasterPage.master). In the master page I load a JavaScript file (MyStyles.js) which is also in the root folder, MyStyles.js.
<script
type="text/javascript"
language="javascript"
src="MyStyles.js"></script>
I have an aspx page in a subfolder Intake/LoadIntake.aspx. The master page in this file is referenced with the markup
<%@ MasterType VirtualPath="~/MasterPage.master" %>
Go to the complete details ...