Home All Groups Group Topic Archive Search About
Author
5 Jan 2006 7:31 PM
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)!!
--
Duncan Sutherland

Author
5 Jan 2006 7:59 PM
Phillip Williams
<asp:TemplateColumn >
    <ItemTemplate>
    Want more information? Just click
    <a href='<%# DataBinder.Eval(Container.DataItem,
"DataNavigateUrlFieldName")%>'>Here</a>
    </ItemTemplate>
</asp:TemplateColumn>

Show quoteHide quote
"duncans" wrote:

> 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)!!
> --
> Duncan Sutherland