ASP.NET(vb.net) & HyperLink - asp:HyperLink - asp:HyperLink : Creates a link on the page that users can click to move to another page.
ShotDev Focus:
- ASP.NET(vb.net) & HyperLink - asp:HyperLink
Tag Control :
<asp:HyperLink id="HyperLink1" NavigateUrl="url" Text="HyperLinkText" ImageUrl="url" Target="window" runat="server"/> or <asp:HyperLink id="HyperLink1""" NavigateUrl="url" ImageUrl="url" Target="window" runat="server"> Text </asp:HyperLink>
Example
HyperLink.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object,e As EventArgs) Me.HyperLink1.Text = "ShotDev.Com" Me.HyperLink1.NavigateUrl = "http://www.ShotDev.Com" Me.HyperLink1.Target = "blank" Me.HyperLink2.ImageUrl = "images.gif" Me.HyperLink2.NavigateUrl = "http://www.ShotDev.Com" End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:HyperLink id="HyperLink1" runat="server">HyperLink</asp:HyperLink> <br><br> <asp:HyperLink id="HyperLink2" runat="server">HyperLink</asp:HyperLink> </form> </body> </html>
Screenshot
1eighty-five…
…