This is a migrated thread and some comments may be shown as answers.

Is there anyway to set a Tooltip property on a GridHyperLinkColumn?

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Margo Noreen
Top achievements
Rank 1
Veteran
Margo Noreen asked on 10 Sep 2010, 07:55 PM
I have a fairly straightforward hyperlink bound column in a RadGrid like so:

<telerik:GridHyperLinkColumn DataNavigateUrlFields="FileID" DataNavigateUrlFormatString="~/goto.aspx?f={0}"
    DataTextField="Name" DataTextFormatString="{0}" HeaderText="Filename" UniqueName="FileName"
    Target="_blank" SortExpression="Name">

What I'd like to do is put a tooltip on the hyperlink that's bound to something other than the DataTextField.  Is there a way to do this in the GridHyperLinkColumn?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Sep 2010, 05:24 AM
Hello,


One suggestion is accessing the HyperLink from code behind and setting the Tooltip from code behind (in ItemDataBound).
http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html


-Shinu.
Tags
Grid
Asked by
Margo Noreen
Top achievements
Rank 1
Veteran
Answers by
Shinu
Top achievements
Rank 2
Share this question
or