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

Clicking Enter key pops up tooltip

1 Answer 43 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Janice K
Top achievements
Rank 1
Janice K asked on 06 Mar 2009, 05:47 PM
Hello.
Has anyone had the issue where clicking the Enter key anywhere on a page causes the RadToolTip to appear?  I'm creating an ImageButton that fires the tooltip, and cannot figure out why the Enter key is a trigger. 

Here is the code I'm using.  Am I missing a setting?
Thanks in advance for any help!

_toolTipImage =

new ImageButton();   

 

 

this.Controls.Add(_toolTipImage);  

_toolTip =

new RadToolTip();   

 

 

 

this.Controls.Add(_toolTip);  

_toolTipImage.ID =

"HelpToolTipImage";  

 

 

_toolTip.ID =

"HelpToolTip";  

 

 

_toolTip.TargetControlID = _toolTipImage.ID;

_toolTip.Position =

ToolTipPosition.TopRight;  

 

 

_toolTip.ShowEvent =

ToolTipShowEvent.OnClick;  

 

 

_toolTip.HideEvent =

ToolTipHideEvent.ManualClose;  

 

 

_toolTip.Skin =

"Default";  

 

 

_toolTip.EnableEmbeddedSkins =

false; 

 

 

_toolTip.Text = "Describe action here.";

 

 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 07 Mar 2009, 12:56 PM
Hello JKing,

Would you please make sure that your button does not gain the focus, e.g by default? If the focus is in another control (e.g use a textbox for your test) and the problem is still present, please prepare a sample, fully runnable reproduction demo, open a new support ticket and send it to me along with detailed explanations and reproduction steps.

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Janice K
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or