asp.net - Urls get corrupted with Outputcache when folder changed -
i noticed serious bug outputcache on user control level.
code simple
<a runat="server" href="~/app/view/login.aspx">login</a>
when first page domain.com/app/view/login.aspx fine , see getting link domain.com/app/view/login.aspx
in output see following html:
<a href="login.aspx">login</a>
but go page in folder generates same html , in browser see:
domain.com/somewrongfolder/login.aspx
what correct syntax href allows me use @outputcache?
Comments
Post a Comment