In ASP we used to be able to do this ... <a href="/help/<%=MyHelpPage%>.asp">hyperlink</a>
and ... <%=MyHelpPage%> ... got substituted with the string value.
So I tried something similar with ASP hyperlink control ...
<asp:HyperLink NavigateUrl="~/help/<%=MyHelpPage%>.aspx" ID="HyperLink1" runat="server">hyperlink</asp:HyperLink>
Above is WRONGLY translated to HTML like this ...
Bottom line ... it don't work! Probably because it's being translated at the server. OK, but I've got hundreds of Help Hyperlinks. I do NOT want to MANUALLY set the page name on all of them.
In ASP.NET ... how else can I accomplish the same thing?