This is a migrated thread and some comments may be shown as answers.

Tooltip for the aggregate

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 05 Jul 2012, 08:39 AM
Hi all,

I have a gridcalculated column to which I am showing aggregate in the footer. I want to show a tooltip for the aggregate inorder to make the user understand what is the data showing in the footer. Please provide some solutions.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 05 Jul 2012, 08:42 AM
Hi,

Please try the following code snippet to give ToolTip for the GridCalculatedColumn aggregate.

C#:
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
  if (e.Item is GridFooterItem)
  {
     GridFooterItem item = (GridFooterItem)e.Item;
     item["UniqueName"].ToolTip = "Your Text";
  }
}

Thanks,
Shinu.
Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or