Different paths in ASP.NET

This post explains the different type of paths there are in ASP.NET,

http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx

Notice,

By the way, this type of syntax is not supported inside plain <script> tags regardless of technology.

So, <%= VirtualPathUtility.ToAbsolute(“~/”) =>  should help ease that, see doc for more info

http://msdn.microsoft.com/en-us/library/ms150160.aspx

Advertisements