The HyperLink control is used to navigate from one page to another page.

<asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>

HyperLink in ASP.Net


We can change its properties like BackColor, ForeColor, BorderColor, BorderStyle, BorderWidth, Height etc.

<asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="Arial" Font-Size="Larger" ForeColor="#000099" NavigateUrl="~/Default.aspx">HyperLink</asp:HyperLink>

HyperLink in ASP.Net

<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Home.aspx">Goto Main Page</asp:HyperLink>

Navigate url specify the destination Url.   

HyperLink in ASP.Net HyperLink in ASP.Net


When you click the Hyperlink Goto Home Page then it will redirected to the HomePage.

  Modified On Mar-22-2018 07:29:58 AM

Leave Comment