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

HideEvent=LeaveTargetAndToolTip Problem

8 Answers 179 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Steve asked on 10 Dec 2008, 04:22 AM
I have a RadGrid where an image in each row is added as the TargetControl to a RadToolTipManager to show a larger image when mousing over.  I have the HideEvent set to "LeaveTargetAndToolTip" but it only works when keeping the mouse over the tooltip.  If you leave the mouse over the target, it eventually goes away.  This same behavior actually happens on your own site's demo of this exact property.  What's the deal?

8 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 12 Dec 2008, 03:20 PM
Hi Steve,

Would you please make sure that you do not have for example set a small value for the AutoHide property of the tooltip? I tested the following online demo
http://demos.telerik.com/aspnet-ajax/ToolTip/Examples/HideEvent/DefaultCS.aspx
and I was not able to reproduce the problem. I also prepared a sample demo project which also works as expected - please examine the attachment. In case the problem persists, modify the attached demo in order to reproduce the problem, open a new support ticket and send it to us along with detailed reproduction instructions.


All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
plaidpony
Top achievements
Rank 1
answered on 17 Dec 2008, 07:21 PM
I didn't see this post before I submitted my own bug report, but I agree with Steve--this appears to be a problem with the functionality of the control.  If the HideEvent is set to LeaveTargetAndToolTip, then as long as the mouse is over the target or over the tooltip, the AutoHide value shouldn't have anything to do with when it closes--AutoHide should only come in to play if the mouse is moved away from the target or away from the tooltip.  In fact, the same incorrect behavior is exhibited using the default setting for the hide event--the tooltip dissapears even when the mouse is still over the target.
0
Svetlina Anati
Telerik team
answered on 18 Dec 2008, 10:41 AM
Hello plaidpony,

I alsready answered your other thread and for your convenience and for others who may ask teh same thing I pasted my reply below:

As far as I understand from your explanations you want the HideEvent=LeaveTargetAndToolTip setting not to respect the AutoCloseDelay setting. However, this behavior is by design and we think that the correct behavior is that the tooltip should close after the set delay expires. I logged your idea for future consideration and it will be discussed.

For the time being, in order to get the desired behavior I suggest to set a very big value to the AutoCloseDelay property.

Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nicolaï
Top achievements
Rank 2
answered on 01 Aug 2012, 09:25 AM
Hi,

Have that problem..
The demo page linked above also has the issue.
Test the demo page... Tooltips disapeer even if you use LeaveTargetAndToolTip, but leave the mouse over target camera..

(And, as reported in several forums threads.. http://www.telerik.com/community/forums/aspnet-ajax/tooltip/bug-radtooltip-hideevent-leavetargetandtooltip-not-working-as-expected.aspx)
0
Marin Bratanov
Telerik team
answered on 03 Aug 2012, 10:38 AM
Hi Nicolaï,

The fact the the tooltips close automatically regardless of the HideEvent setting (unless it is ManualClose) is by design. This behavior is controlled by the AutoCloseDelay property, which has a default value of 3000ms. This is explained in this help article.

If you want to avoid this automatic closing (which is also exhibited by tooltips in the OS or the browser) you can either set the AutoCloseDelay to a high value (to keep the behavior, but just delay it), or set it to 0 to prevent it. You can test this in the First Look online demo.

The HideDelay property is the one that is used for controlling how long after the mouse moves away from the target the tooltip will hide. This can also be seen in the First Look demo. Of course, if another tooltip must be shown the previous will hide immediately, regardless of this setting.

I hope this clears the your questions and doubts.


Greetings,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Nicolaï
Top achievements
Rank 2
answered on 03 Aug 2012, 10:43 AM
Hello,

Thanks for explaining this!
Leads me to think though; just an idea, maybe for the demo pages:
a section called "control default values", and shows us the complete markup for a control (all properties available that have a default).
So, for the tooltip, for example, markup would include AutoCloseDelay=3000
..
But it'd have to show all default set properties/values..
Just an idea... Not the first time a property's default value silently dupes me!

Best regards,
Nicolaï
0
Marin Bratanov
Telerik team
answered on 07 Aug 2012, 11:09 AM
Hello Nicolaï,

I am glad your question is now cleared.

Regarding your suggestion - I thank you for it and we will consider it in our internal meetings. I have also updated your Telerik points for sharing this idea with us.


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Fernando
Top achievements
Rank 2
answered on 01 Oct 2015, 02:45 PM
It's probably caused by the interpretation of the expression "Leave target and tooltip".
In my case, it's make me think exactly like the other users. Here at my work some times we do a little mistake like this when creating some method, by  using a wrong verb to name it. And this in the future, leads others to misconceptions about what the method does.

But by setting the AutoCloseDelay property to 0 (zero) is a good solution for me.

Thanks a lot Marin Bratanov.
Tags
ToolTip
Asked by
Steve
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
plaidpony
Top achievements
Rank 1
Nicolaï
Top achievements
Rank 2
Marin Bratanov
Telerik team
Fernando
Top achievements
Rank 2
Share this question
or