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

tooltip for aggregate foot row

2 Answers 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 23 Apr 2012, 04:22 AM
I had a aggregate foot row in the grid, how can I set a tooltip for the aggregate value in the foot row? 

for example, one column is showing the sum of the value in the aggregate foot, I want to show a tooltip when user cursor hoover over that aggregate.

thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 23 Apr 2012, 05:08 AM
Hello Henry,

Try the following code to show tootip for footer.
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.
0
Henry
Top achievements
Rank 1
answered on 23 Apr 2012, 03:24 PM
Thanks!
Tags
Grid
Asked by
Henry
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Henry
Top achievements
Rank 1
Share this question
or