I am facing a problem in binding a tooltip to each cell. The tooltip value is the actual content in the cell. I have tried few solution to bind discussed in this forum. But i was not sucessful.
Telerik version: 2009.2.826.35
<telerik:RadGrid ID="RadGrid1" runat="server"
onitemcreated="RadGrid1_ItemDataBound">
<ClientSettings AllowColumnsReorder="True" AllowKeyboardNavigation="false"
ColumnsReorderMethod="Reorder" ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="True" />
<Resizing AllowColumnResize="True" AllowRowResize="True" ClipCellContentOnResize="true" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
foreach (TableCell cell in e.Item.Cells)
{
cell.ToolTip = cell.Text;
}
}
}
Please suggest some solution.
Regards,
Sivarajan