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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -