asp.net - The resource cannot be found after refresh -


dears ,

below code in ctrl_menu.ascx navigating accounts page

<li class="">                     <a href="../employeeschedule/administration/account/accountsview.aspx" title="bootstrap tables">                       <i class="fa fa-puzzle-piece"><span class="overlay-label greensea80"></span></i>                      accounts                     </a>                   </li> 

it works fine , while im in accountsview.aspx , if press again on , show source cannopt found. error:requested url:/employeeschedule/administration/employeeschedule/administration/account/accountsview.aspx

i have no idea why duplicate “employeeschedule/administration ”

to more clear , here’s code ctrl_menu.ascx whih registered in ctrl_header.ascx , ctrl_header.ascx registered in master page.

<%@control language="c#" autoeventwireup="true" codefile="ctrl_menu.ascx.cs" inherits="ctrl_header" %> <ul class="nav navbar-nav side-nav" id="navigation">                <li class="collapsed-content">                 <!-- collapsed content pasting here @ 768px -->               </li>               <li class="user-status status-online hide" id="user-status">                <div class="profile-photo">                  // <img src="images/profile-photo.jpg" alt= />                  </div>                 <div class="user">                   mnhgcjhgcjhgfjhgf <strong>jhgfjhgf</strong>                   <span class="role">administrator</span>                  </div>               </li>      <li class="">                     <a href="../employeeschedule/administration/account/accountsview.aspx" title="bootstrap tables">                       <i class="fa fa-puzzle-piece"><span class="overlay-label greensea80"></span></i>                      accounts                     </a>                   </li> </ul> 

thanks

try following:

href="<%=resolveclienturl("~/employeeschedule/administration/account/accountsview.aspx") %>" 

Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -