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

Close only on mouse out

3 Answers 70 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 09 Sep 2009, 09:38 PM
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

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 10 Sep 2009, 01:37 PM
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.
0
Clive Hoggar
Top achievements
Rank 1
answered on 11 Sep 2009, 03:48 PM
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
0
Svetlina Anati
Telerik team
answered on 16 Sep 2009, 09:08 AM
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.
Tags
ToolTip
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Clive Hoggar
Top achievements
Rank 1
Share this question
or