当我在〜和/ in href中使用它时,它的工作正常,但是当我在下拉列表中使用href并做同样的事情时,它给我一个错误
"0x800a139e - Microsoft JScript runtime error: Syntax error, unrecognized expression:/ManualPages/PersonalDetails/EmployeeInformation.aspx"
<div class="navbar-collapse collapse">
<ul class="nav nav-pills nav-stacked">
<li ><a runat="server" href="~/About">Dashboard</a></li>
<li><a href="ManualPages/Dashboard.aspx">Dashboard</a>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
Personal Details <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="/ManualPages/PersonalDetails/EmployeeInformation.aspx" data-toggle="tab">Employee Information</a></li>
<li class="divider"></li>
<li><a href="/ManualPages/Personaldetails/EmployeeFinancingInformation" data-toggle="tab">Employee financing Information</a></li>
</ul>
</li>