Hyperlink within a label

D

duncans

I have seen a couple of posts that sort of aswer my question but I am feeling
particularly dense in 2006. I want to have a 'label' that contains within it
a link to another page. I could use a link button, I suppose, but I don't
necessarily want the entire text to be a hyperlink; just a word or two. An
example might be:

"Want more information? Just click here!" (where, for example, only the word
"here" is linked to a new page). Thanks for some direction here (no pun
intended)!!
 
P

Phillip Williams

<asp:TemplateColumn >
<ItemTemplate>
Want more information? Just click
<a href='<%# DataBinder.Eval(Container.DataItem,
"DataNavigateUrlFieldName")%>'>Here</a>
</ItemTemplate>
</asp:TemplateColumn>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top