Results 1 to 2 of 2

Thread: [2005]Hyperlink in Datalist ItemTemplate issue.

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,086

    Resolved [2005]Hyperlink in Datalist ItemTemplate issue.

    I'm using Datalist connected to sqlDataSource to get list of url from the db.I added HyperLink in the ItemTemplate like this :

    HTML Code:
    asp:HyperLink ID="DownloadTitleLabel" runat="server" Text='<%# Eval("DownloadTitle") %>' NavigateUrl='<%# Eval("DownloadLink") %>'>
    </asp:HyperLink>
    First link works fine , but the others show like this :

    http://localhost:xxxx/FolderName/www.forexample.com

    So , I want to get the "DownloadTilte" in the text field , and urlNavigate shows "DownloadLink" when mouse is hovered on the link .


    Thanks all.
    Last edited by Pirate; Dec 16th, 2006 at 10:53 AM.

  2. #2

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,086

    Re: [2005]Hyperlink in Datalist ItemTemplate issue.

    Never mind.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width