C
Cold Filtered
Hi,
I have a .master file page with the following in <head>
<script src="javascript/common.js" type="text/javascript" />
This works fine for any .aspx files in the same directory as the
..master file.
When I navigate to a subdirectory in the application to a .aspx file
that uses the .master file, the link to the javascript is broken.
i tried:
<script runat="server" src="~/javascript/common.js"
type="text/javascript" />
but the compiler complains.
I've using the .. runat="server" .. and .. ~/ .. feature with other
controls e.g. img, anchor etc.
Thanks.
I have a .master file page with the following in <head>
<script src="javascript/common.js" type="text/javascript" />
This works fine for any .aspx files in the same directory as the
..master file.
When I navigate to a subdirectory in the application to a .aspx file
that uses the .master file, the link to the javascript is broken.
i tried:
<script runat="server" src="~/javascript/common.js"
type="text/javascript" />
but the compiler complains.
I've using the .. runat="server" .. and .. ~/ .. feature with other
controls e.g. img, anchor etc.
Thanks.