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

TooltTip Dispears OnClick when set to show OnFocus

1 Answer 24 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
ataya
Top achievements
Rank 1
ataya asked on 07 Dec 2008, 04:54 AM
I want to use the tooltip to be always visible when I click on TextBox .. the problem is when I set it to show onFocus and I click it shows for quick sec and then disappears.. the behviour I'm looking for is to have it show when onFocus and when onClick and dispears onBlur and if mouse clicked out.. here is what I got:

<telerik:RadToolTipManager
        ID="RadToolTipManager1" runat="server"
        ShowDelay="0"
        Skin="Gray"
        ManualClose="False"
        RelativeTo="Element" ShowEvent="OnFocus" AutoTooltipify="True" AutoCloseDelay="0"
                        Position="MiddleRight" OffsetY="0">
</telerik:RadToolTipManager>


Appreciate any help


1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Dec 2008, 01:36 PM
Hi Ataya,

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.


Regards,
Svetlina
the Telerik team

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