The HyperLink control is used to navigate from one page to another page.
<asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
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>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Home.aspx">Goto Main Page</asp:HyperLink>
Navigate url specify the destination Url.
When you click the Hyperlink Goto Home Page then it will redirected to the HomePage.
Leave Comment