hi,
there, i want to use .gif button and use in the hyperlink. i am not able to move to another page by clicking it. the code is as below:

<asp:HyperLink ID="HyperLink1" runat="server"><img alt="" 
            longdesc="file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/WebSites/WebSite9/Images/line.gif" 
            src="Images/line.gif" style="width: 1273px; height: 6px" /></asp:HyperLink>

Use NavigateUrl property to move to another page.

Hi you can set the navigateURL property as follows...

<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/images/Avatars/12.gif"
NavigateUrl="~/Default2.aspx">HyperLink</asp:HyperLink>


BYE..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.