Hi,
How can I stop the hyperlinkcolumn rendering a title attribute? It seems to default to creating one as the same value as DataTextField. The browser renders the title attribute as a tooltip and it is overlapping my radtooltip!
Thanks,
Leon.
How can I stop the hyperlinkcolumn rendering a title attribute? It seems to default to creating one as the same value as DataTextField. The browser renders the title attribute as a tooltip and it is overlapping my radtooltip!
Thanks,
Leon.
4 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 23 Sep 2008, 04:33 AM
Hi Leon,
Try removing the HeaderText of the GridHyperLinkColumn.
ASPX:
Shinu.
Try removing the HeaderText of the GridHyperLinkColumn.
ASPX:
<telerik:GridHyperLinkColumn HeaderText="" DataTextField="ProductName" > </telerik:GridHyperLinkColumn> |
</Columns> |
Shinu.
0

Relative
Top achievements
Rank 1
answered on 23 Sep 2008, 07:59 AM
Hi,
I saw that answer in another post - that doesn't do anything apart from remove the column heading text - as you would expect. You still get the title attribute rendered with the datatextfieldvalue - plus i want to have a headertextvalue!!!
Leon.
I saw that answer in another post - that doesn't do anything apart from remove the column heading text - as you would expect. You still get the title attribute rendered with the datatextfieldvalue - plus i want to have a headertextvalue!!!
Leon.
0

Relative
Top achievements
Rank 1
answered on 23 Sep 2008, 08:30 AM
Posted a support ticket. Will reply back here with result.
0
Hi Leon Mills,
You can programmatically remove the hyperlink tooltip in the ItemDataBound event handler of RadGrid:
All the best,
Veli
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can programmatically remove the hyperlink tooltip in the ItemDataBound event handler of RadGrid:
void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
{ |
if (e.Item is GridDataItem) |
{ |
GridDataItem item = e.Item as GridDataItem; |
(item["HyperlinkColumnName"].Controls[0] as HyperLink).ToolTip = ""; |
} |
} |
All the best,
Veli
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.