VB.NET - Hyperlink - Asked By pradnya sahu on 10-Nov-11 05:47 AM

I have drag and drop Hyperlink on form

but it displaing only Hyperlink text it not comes in the link.  why???
Please help me
dipa ahuja replied to pradnya sahu on 10-Nov-11 05:49 AM
Set its Text Property

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

Kirtan Patel replied to pradnya sahu on 10-Nov-11 05:50 AM
you need to set NavigateURL Property to Heyperlink Become visible 

Suchit shah replied to pradnya sahu on 10-Nov-11 05:50 AM
Use it like below

<asp:HyperLink ID="HyperLink1"runat="server"NavigateUrl="~/about.aspx"></asp:HyperLink>

pradnya sahu replied to dipa ahuja on 10-Nov-11 05:55 AM


thanks, but its not working ... it only display the text view not comes in the link

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

dipa ahuja replied to pradnya sahu on 10-Nov-11 06:01 AM
if you write a text between opening and closing brackets of hyperlink then remove the text property 

for ex:

Write this

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

Or this:


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