Hi
I have an ascx file, which has a "hyperlink" , eg:
<asp:HyperLin k ID="myLink" Text="LINK" runat="server" NavigateUrl="" />
Is it possible to set the navigate-url dynamically in the ascx, or is
it only possible in the code-behind?
Eg. can I do something like:
<asp:HyperLin k ID="myLink" Text="LINK" runat="server" NavigateUrl="<% =
urlString %>" />
(Where urlString is a string declared earlier on the ascx).
Thanks,
Peter
I have an ascx file, which has a "hyperlink" , eg:
<asp:HyperLin k ID="myLink" Text="LINK" runat="server" NavigateUrl="" />
Is it possible to set the navigate-url dynamically in the ascx, or is
it only possible in the code-behind?
Eg. can I do something like:
<asp:HyperLin k ID="myLink" Text="LINK" runat="server" NavigateUrl="<% =
urlString %>" />
(Where urlString is a string declared earlier on the ascx).
Thanks,
Peter
Comment