T
thersitz
Hi,
Just playing around using the QuickStart site. I placed this code in my code
behind:
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
' Set hyperlink to "~", which indicates application root.
link1.NavigateUrl = "~"
End Sub
this code in my page:
<asp:hyperlink ID="link1" runat="server">this link test</asp:hyperlink>
The tutorial has me placing the sub in the page itself -- but shouldn't this
work regardless? It displays the text as a link but hovering over it does
nothing.
thanks
Just playing around using the QuickStart site. I placed this code in my code
behind:
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
' Set hyperlink to "~", which indicates application root.
link1.NavigateUrl = "~"
End Sub
this code in my page:
<asp:hyperlink ID="link1" runat="server">this link test</asp:hyperlink>
The tutorial has me placing the sub in the page itself -- but shouldn't this
work regardless? It displays the text as a link but hovering over it does
nothing.
thanks