AutoClose Tooltip

4 posts, 0 answers
  1. digitall
    digitall avatar
    169 posts
    Member since:
    Jun 2006

    Posted 22 Feb 2008 Link to this post

    I am using the Tooltip control to show a popup of a larger version of an image on hover. I am trying to get the tooltip to stay up the entire time the mouse cursor is over the image (target control) and as soon as you move away it disappears. The problem I am having is when the mouse is on the target control, the tooltip disappears and re-appears constantly - almost with a "flashing" effect since it is on/off/on/off. As soon as I am not hovering any longer, the control works as I would expect. Any suggestions? Below is the markup on the aspx page, and the VB I am using in the code-behind.

    Thanks in advance!

    1 <telerik:RadToolTipManager ID="radToolTipManager" runat="server" Animation="Fade" ContentScrolling="None" ManualClose="false" HideDelay="0" AutoCloseDelay="1200" /> 


    1                     With Me.radToolTipManager 
    2                         .Modal = True 
    3                         .RelativeTo = Telerik.Web.UI.ToolTipRelativeDisplay.Mouse 
    4                         .Title = ProductName & " Detail Image" 
    5                         .Text = "<img src=""" & Me.ResolveClientUrl("~/images/dbimages/" & dr.Item("tname")) & " />" 
    6                         .TargetControls.Add(Me.im.ClientID, True
    7                         .Height = New Unit(dr.Item("imageheight") + 35, UnitType.Pixel) 
    8                         .Width = New Unit(dr.Item("imagewidth") + 35, UnitType.Pixel) 
    9                         '.ShowDelay = 0.5 
    10                         .Position = Telerik.Web.UI.ToolTipPosition.TopRight 
    11                         '.AutoCloseDelay = 5000 
    12                     End With 
    13  
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 25 Feb 2008 Link to this post

    Hi Scott,

    There was an issue with RadToolTip's quickly disappearance in some situations, especially when the mouse is moved very fast. Today we release a Service Pack and in it the RadToolTip's performance is improved. I recommend you to download this newest version of the control and test your project with it.

    Unfortunately the provided code is not enough for us to find the reason of the problem that you report, but we suppose that it is not caused by the control but by the way of its usage.
    We assume that your scenario is very similar to this demo. Please, check it, try to implement it and if you continue experiencing problems, send us a sample project. As soon as we receive it, we will do our best to help you.


    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dave Durose
    Dave Durose avatar
    44 posts
    Member since:
    Jan 2008

    Posted 06 Mar 2008 Link to this post

    The performance of the Tooltip control doesn't appear to have been fixed by the latest release.  I am actually the programmer who discovered this bug.  I am still able to reproduce this issue even with the new release in place.  The tooltip should disappear immediately after the user mouses out.
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Mar 2008 Link to this post

    Hi Dave,

    I already answered your question and you can find the answer in this thread.


    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top