|
-
Dec 16th, 2006, 01:43 AM
#1
Thread Starter
Sleep mode
[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.
-
Dec 16th, 2006, 10:51 AM
#2
Thread Starter
Sleep mode
Re: [2005]Hyperlink in Datalist ItemTemplate issue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|