Is there a way to set the tooltip for a column header? Currently when I hover over a column header containing an image, i get the 'Drag to group or reorder' tooltip. When it is a text column, I get the 'click here to sort' tooltip. I would like to have a custom tooltip that describes the column itself. Is there a way to do this in the radgrid?
Thanks,
Thanks,
9 Answers, 1 is accepted
0
Hello Randy,
You can use RadGrid SortingSettings and ClientSettings.ClientMessages to achieve. Please check this article for more info:
http://www.telerik.com/help/aspnet-ajax/grdlocalizingtootips.html
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can use RadGrid SortingSettings and ClientSettings.ClientMessages to achieve. Please check this article for more info:
http://www.telerik.com/help/aspnet-ajax/grdlocalizingtootips.html
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Randy
Top achievements
Rank 1
answered on 12 Nov 2008, 01:48 PM
Correct me if I am wrong but don't these just allow me to change the text globally for this grid? What if I want the hovertext to be different for each column?
Thanks,
Thanks,
0
Accepted
Princy
Top achievements
Rank 2
answered on 12 Nov 2008, 02:11 PM
Hello Randy,
You can use the following code to set ToolTips for columns using the column UniqueName property. Also you can set the SortToolTip and Reorder ToolTips empty as shown below:
cs:
aspx:
Thanks
Princy.
You can use the following code to set ToolTips for columns using the column UniqueName property. Also you can set the SortToolTip and Reorder ToolTips empty as shown below:
cs:
| protected void RadGrid2_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridHeaderItem) |
| { |
| GridHeaderItem header = (GridHeaderItem)e.Item; |
| header["ColumnUniqueName"].ToolTip = "Custom Text"; |
| } |
| } |
aspx:
| <telerik:RadGrid ID="RadGrid2" AllowSorting="true" runat="server" OnItemDataBound="RadGrid2_ItemDataBound" > |
| <SortingSettings SortToolTip="" /> |
| <ClientSettings > |
| <ClientMessages DragToGroupOrReorder="" DragToResize="" DropHereToReorder="" /> |
| </ClientSettings> |
Thanks
Princy.
0
Randy
Top achievements
Rank 1
answered on 12 Nov 2008, 03:31 PM
That worked. Thanks.
0
Ofer
Top achievements
Rank 1
answered on 03 Jan 2013, 02:56 PM
Worked as a charm :)
0
Aksha
Top achievements
Rank 1
answered on 22 Feb 2013, 05:38 PM
RadGridListBoundColumn HeaderText="Current Days from Due Date" HeaderTooltip = "Current number of days grantee can submit after the due date has passed." AllowFiltering="false" DataField="DaysfromDueDate" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" UniqueName="DaysFromDueDate" DataType="System.Int16" ReadOnly="true" ItemColumnType="SpecificText" AllowSorting="false" >
Here is the Column, I have set the sorting, filtering to false and I have set the Header Tool Tip, Even though it is coming in the source as Title. It is not showing up when I hover the mouse on the Header. I have read all the threads related to Header Tool Tip and I have tried even setting the
Here is the Column, I have set the sorting, filtering to false and I have set the Header Tool Tip, Even though it is coming in the source as Title. It is not showing up when I hover the mouse on the Header. I have read all the threads related to Header Tool Tip and I have tried even setting the
radDeliverableListGrid.ClientSettings.ClientMessages.DragToGroupOrReorder = ""; but the Header tool tip is not showing up.
0
Hello Aksha,
Please note that custom created controls are not supported even if they are inherited directly from RadControls. On my side the provided code snippet applies the ToolTip correctly when used in RadGrid with a GridBoundColumn declaration. Can you please try it out and verify that it works as expected on your side too?
All the best,
Eyup
the Telerik team
Please note that custom created controls are not supported even if they are inherited directly from RadControls. On my side the provided code snippet applies the ToolTip correctly when used in RadGrid with a GridBoundColumn declaration. Can you please try it out and verify that it works as expected on your side too?
All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Aksha
Top achievements
Rank 1
answered on 13 Mar 2013, 05:00 PM
Hi,
Even for
Even for
RadGridBoundColumn
HeaderText="Current Days from Due Date" HeaderTooltip = "Current number of days grantee can submit after the due date has passed." AllowFiltering="false" DataField="DaysfromDueDate" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" UniqueName="DaysFromDueDate" DataType="System.Int16" ReadOnly="true" ItemColumnType="SpecificText" AllowSorting="false"
It is not showing up.
0
Hi Aksha,
I have created a sample RadGrid web site using the exact same column definition. On my end the header tooltip is displayed as expected. Can you please check out the attached application and verify that it appears correctly on you side, too?
Regards,
Eyup
the Telerik team
I have created a sample RadGrid web site using the exact same column definition. On my end the header tooltip is displayed as expected. Can you please check out the attached application and verify that it appears correctly on you side, too?
Regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

