下拉母版页在更改页面后无效

时间:2016-12-22 06:02:14

标签: c# asp.net drop-down-menu master-pages nav

在更改页面到设置页面后,主页中没有工作下拉列表风险内容。再次返回主页后,下拉工作正常工作

MasterPage.master



<div id="navbar" class="navbar-collapse collapse">
  <ul class="nav navbar-nav custom_nav">
    <li class=""><a href="<%= Page.ResolveUrl(" ~/Home.aspx ") %>">Home</a>
    </li>
    <li class="dropdown"><a href="#" class="" data-toggle="dropdown" role="button" aria-expanded="false">Risk Context</a>
      <ul class="dropdown-menu" role="menu">
        <li><a href="<%= Page.ResolveUrl(" ~/pages/RiskContext/ObjectiveKPI.aspx ") %>">Objective (KPI)</a>
        </li>
        <li><a href="<%= Page.ResolveUrl(" ~/pages/RiskContext/RiskLimitAndERR.aspx ") %>">Risk Limit & Expected Residual Risk</a>
        </li>
        <li><a href="<%= Page.ResolveUrl(" ~/pages/RiskContext/ImpactScaleTables.aspx ") %>">Impact Scale Tables</a>
        </li>
        <li><a href="<%= Page.ResolveUrl(" ~/pages/RiskContext/ProbabiityScaleTables.aspx ") %>">Probability Scale Tables</a>
        </li>
      </ul>
    </li>
    <li><a href="<%= Page.ResolveUrl(" ~/pages/Setting/SettingRole.aspx ") %>">Settings</a>
    </li>
    <ul>
</div>
&#13;
&#13;
&#13;

我错过了我的代码?帮我。谢谢......

0 个答案:

没有答案