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

ToolTips on radgrid

2 Answers 63 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 16 Aug 2012, 09:14 AM
Hi,
I want a tooltip to appear whenever you hover over a row in my radgrid to tell you to "double click the row for more info". I've got this working simply by setting the TargetControlID of a tooltip to the radgrid - great!

However I have a nested template view so each row expands to show more detail. When they expand the row I don't want want the tooltip to appear. It does. The nested view template has a div in which I tried to add a mouseover event to hide the tooltip but that doesn't work.

Any suggestions how I can do this please?

thanks

Karl

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 Aug 2012, 10:31 AM
Hi,

Try hiding the tooltip in ItemCommand event as shown below.
C#:
protected void grid1_ItemCommand(object sender, GridCommandEventArgs e)
{
 if (e.CommandName == RadGrid.ExpandCollapseCommandName)
 {
   Tooltip1.Visible = false;
 }
}

Thanks,
Shinu.
0
Karl
Top achievements
Rank 1
answered on 16 Aug 2012, 02:16 PM
Thankyou works great.
Tags
ToolTip
Asked by
Karl
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Karl
Top achievements
Rank 1
Share this question
or