I have a RadGrid that has grouping enabled. The column headers currently display a default tooltip "Drag to group or reorder". I want to replace this tooltip for one of the column headers with the text say "custom tooltip" and leave the other column headers with the default tool tip. I tried to set the custom tooltip for a column named "Template1" using the following code
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridHeaderItem)
{
GridHeaderItem header = (GridHeaderItem)e.Item;
header["Template1"].ToolTip = "custom tooltip";
}
}
The definition for the grid column is given below,
<telerik:GridTemplateColumn UniqueName="Template1" HeaderText="C">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" Visible="true" OnClick="LinkButton1_Click1">View</asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
It still displays the default tooltip "Drag to group or reorder" for the "Template1" column.
If I add the following to the <ClientSettings> section of the RadGrid then no tooltip is displayed for none of the columns.
<ClientMessages DragToGroupOrReorder="" />
Any ideas?
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridHeaderItem)
{
GridHeaderItem header = (GridHeaderItem)e.Item;
header["Template1"].ToolTip = "custom tooltip";
}
}
The definition for the grid column is given below,
<telerik:GridTemplateColumn UniqueName="Template1" HeaderText="C">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" Visible="true" OnClick="LinkButton1_Click1">View</asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
It still displays the default tooltip "Drag to group or reorder" for the "Template1" column.
If I add the following to the <ClientSettings> section of the RadGrid then no tooltip is displayed for none of the columns.
<ClientMessages DragToGroupOrReorder="" />
Any ideas?