ToolTips on radgrid

3 posts, 1 answers
  1. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 16 Aug 2012 Link to this post

    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. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 16 Aug 2012 Link to this post

    Thankyou works great.
Back to Top