P
Peter
Hi
I have an ascx file, which has a "hyperlink", eg:
<asp:HyperLink 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:HyperLink 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:HyperLink 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:HyperLink ID="myLink" Text="LINK" runat="server" NavigateUrl="<%=
urlString %>" />
(Where urlString is a string declared earlier on the ascx).
Thanks,
Peter
--