In the code behind, I'd like to return some code that builds an anchor tag. I thought I could set runat="server" and then build the link to use ~/ at the start since this is in a user control and can be used from many places/folders within the app.
This doesn't work. Same with showing an image actually. <img src="~/images/image.gif" runat="server"> won't work when i spit out this code into a string from the code behind. Help?
View Complete Post