我正在使用asp.net应用程序,以下链接适用于IE,但不适用于FF.
<a href="~/BusinessOrderInfo/page.aspx" >
Run Code Online (Sandbox Code Playgroud)
是不是只能在asp.net服务器控件中使用的波形符.它将被实际路径取代?
是否可以在锚标签中使用波浪号?如果是这样的话是什么意思?
当我在根时,链接工作
www.myserver.com/default.aspx, click the link, ok!
www.myserver.com/otherpart/default.aspx, click the link, not ok!
Run Code Online (Sandbox Code Playgroud)
ASP.NET生成的链接是:
www.myserver.com/otherpart/~BusinessOrderInfo/page.aspx
Run Code Online (Sandbox Code Playgroud)
这是设计的吗?