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

Issue with RadToolTipManager ShowEvent OnFocus for July 2008 Release

1 Answer 52 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 25 Jul 2008, 06:54 PM
Hi,

I have a bunch of code in my application that is supposed to show tooltips on focus of a text box. I just upgraded to the July update of ASP.net RAD AJAX controls and now the tooltips have issues. When you click directly on the textbox the tooltip will show then disappear right away. When you tab to the textbox the tooltip will show but the arrow pointing to the box no longer shows. Am I missing something with the update? Below is the code I use for this feature. 

<telerik:RadToolTipManager runat="server" ID="RadTipPW" ShowEvent="OnFocus" Skin="Default2006" ShowDelay="0" AutoCloseDelay="4000" Font-Size="Smaller" Width="150px" Position="MiddleRight" RelativeTo="Element">

<TargetControls>

<telerik:ToolTipTargetControl TargetControlID="txtPassword" IsClientID="False" />

</TargetControls>

</telerik:RadToolTipManager>



Please let me know what is going on. I'm about ready to roll back to that last realse of the controls. Thanks.

Alex



1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 29 Jul 2008, 08:45 AM
Hello Alex,

I tested your code and I was able to reproduce both the described problems.
Straight to them:

  1. The problem with the focus comes from the settings you have applied, especially ShowDelay=0. When you click in the TextBox, it gets the focus, but when you click somewhere on the page the tooltip has to hide. That is why a logical problem occurs when it is showed with a very small delay - it shows and after that has to immediately hide. That also explains why this does not happen when you focus the textbox by using the Tab key. In order to solve the problem you should set a bigger ShowDelay.
  2. The problem with the callout comes from the fact that the pointer image for this skin - Default2006 - is not found - we will fix this in our latest release. For the time - being I prepared for you a workaround which includes the image in the solution and configures the tooltip to reference it from there.

I attached a sample demo which has the two problems solved.



All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Alex
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or