3 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 27 Apr 2009, 11:34 AM
Hello,
You can try out the following code to set teh ToolTip For a column header:
c#:
Thanks
Princy.
You can try out the following code to set teh ToolTip For a column header:
c#:
| protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridHeaderItem) |
| { |
| GridHeaderItem header = (GridHeaderItem)e.Item; |
| header["ColumnUniqueName"].ToolTip = "Text"; |
| } |
| } |
Thanks
Princy.
0
Christian
Top achievements
Rank 1
answered on 27 Apr 2009, 11:42 AM
thank's
I need to set the Columnname into the Tooltip.
How ca I get the Columnname in the event ItemDataBound?
Thanks
Christian
I need to set the Columnname into the Tooltip.
How ca I get the Columnname in the event ItemDataBound?
Thanks
Christian
0
Accepted
Hello Christian,
Please examine the attached demo which illustrates how to add RadToolTip to the RadGrid header.
Let us know whether this helps.
Kind regards,
Daniel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Please examine the attached demo which illustrates how to add RadToolTip to the RadGrid header.
Let us know whether this helps.
Kind regards,
Daniel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.