I created this little prototype to illustrate the problem I'm having.
Basically, the 'UnitsInStock' column is not displaying the tooltip.
Notice that if you set AllowSorting=True for the column or set AllowColumnsReorder=False in ClientSettings, then the tooltip will work.
PS - I'm using version 2010.2.929.40
Basically, the 'UnitsInStock' column is not displaying the tooltip.
Notice that if you set AllowSorting=True for the column or set AllowColumnsReorder=False in ClientSettings, then the tooltip will work.
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="HowToDisplayHdrTooltipsInTelerikRadgrid._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
asp:Content
ID
=
"HeaderContent"
runat
=
"server"
ContentPlaceHolderID
=
"HeadContent"
>
</
asp:Content
>
<
asp:Content
ID
=
"BodyContent"
runat
=
"server"
ContentPlaceHolderID
=
"MainContent"
>
<
asp:ScriptManager
runat
=
"server"
/>
<
telerik:RadGrid
ID
=
"grid"
runat
=
"server"
AutoGenerateColumns
=
"False"
DataSourceID
=
"SqlDataSource1"
AllowSorting
=
"true"
GridLines
=
"None"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
>
</
ClientSettings
>
<
MasterTableView
DataKeyNames
=
"ProductID"
DataSourceID
=
"SqlDataSource1"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"ProductID"
DataType
=
"System.Int32"
HeaderText
=
"ProductID"
ReadOnly
=
"True"
AllowSorting
=
"true"
SortExpression
=
"ProductID"
UniqueName
=
"ProductID"
HeaderTooltip
=
"product id tooltip"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ProductName"
HeaderText
=
"ProductName"
AllowSorting
=
"true"
SortExpression
=
"ProductName"
UniqueName
=
"ProductName"
HeaderTooltip
=
"product name tooltip"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"CategoryName"
HeaderText
=
"CategoryName"
SortExpression
=
"CategoryName"
UniqueName
=
"CategoryName"
HeaderTooltip
=
"category name tooltip"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"UnitPrice"
DataType
=
"System.Decimal"
HeaderText
=
"UnitPrice"
SortExpression
=
"UnitPrice"
UniqueName
=
"UnitPrice"
HeaderTooltip
=
"unit price tooltip"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"UnitsInStock"
DataType
=
"System.Int16"
HeaderText
=
"UnitsInStock"
AllowSorting
=
"false"
UniqueName
=
"UnitsInStock"
HeaderTooltip
=
"units in stock tooltip"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
SelectCommand="SELECT [ProductID], [ProductName], [CategoryName], [UnitPrice], [UnitsInStock] FROM [Alphabetical list of products]">
</
asp:SqlDataSource
>
</
asp:Content
>