Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Path absolute or relative problem in asp.net master page?

$
0
0

Hi

I have a home page as startup inherited from master page, which are in root. I have folder called "WebPages" and i have all the webpages inside this folder. When user open site, HomePage.aspx loads. I have some <a> in master page and it redirects to pages inside Webpages folder. like this

a href="WebPages/TransactionD.aspx"
a href="WebPages/TransactionT.aspx"
a href="WebPages/TransactionS.aspx"

When user clicks on TransactionD it works but when user clicks on TransactionT it will not work and its redirect link becomes WebPages/WebPages/TransactionT. How to solve this issue?

Thanks


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>