Close only on mouse out

4 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    334 posts
    Member since:
    Nov 2008

    Posted 09 Sep 2009 Link to this post

    Hi

    I now have a tooltip working with grid items per your demo in the docs, bu there is just one
    thing bugging me.   I want the tooltip to remain open until the visitor moves their mouse away, then to close,
    preferably after a delay. Right now, the tooltip close after about half a second even if the mouse is still
    over the targetcontrol.
    Here are the settings
    <telerik:RadToolTipManager ID="RadToolTipManager1" OffsetY="-1" HideEvent="LeaveTargetAndToolTip" 
                Width="410" Height="150" runat="server" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element" 
                Position="TopCenter">  
            </telerik:RadToolTipManager> 

    What am I doing wrong?
    Thanks

    Clive
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Sep 2009 Link to this post

    Hi Clive,

    I assume that your tooltip closes due to the default autoclosedelay setting. However, it is longer than half of second but examining your code I cannot see another possible reason. Would you please try the following just for test purposes:

    1. Set AutoCloseDelay="0" and tets again.
    2. Set the AutoCloseDelay to a very big value and test again.

    Let me know what are the results from your tests and in case they work for you, choose teh one which better meets your scenario and requirements. 


    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Clive Hoggar
    Clive Hoggar avatar
    334 posts
    Member since:
    Nov 2008

    Posted 11 Sep 2009 Link to this post

    H Svetlina
    Thanks. I set the auoclosedelay to zero and now I get the expected action - the tooltip stays open until
    the mouse is removed from target or tooltip.

    Perhaps the standard behaviour should be that when the close action is targetortooltip it should override the
    autoclosedelay default setting.

    Thanks again.
    Clive
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 16 Sep 2009 Link to this post

    Hi Clive,

    We can consider that if we get more client requests. However, for the time being most of our customers want to have the autoclose functionality in all cases except for manual close. This fact and also the fact that it is easy to get teh behavior you require by simply setting value 0 for teh property make us think that for the tim ebeing it is better to keep the things the way they are.


    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top