I'm trying to do this simple task using this kind of coding (ASP.NET Inline expression):
Where:
Vars is a static class that contains static strings variables.
Code:
<asp:HyperLink ID="anyHyperLink" runat="server" />
<% anyHyperLink.NavigateUrl = Vars.aDirectoryString; anyHyperLink.Text = "Some Text"; %>
The output markup ends showing that the inline expression code has no effect!
Thanks..