Is there a way (I guess in the javascript file) to configure the Tooltip not to disappear after only a few seconds. In other words, I want the tooltip to display until the box is clicked on or the mouse is moved away. If I can, will you point me to the correct js file to modify.
Thanks!
Thanks!
3 Answers, 1 is accepted
0
Hello Blake,
Could you specify which tooltip are you talking about?
1) Hint support - http://www.telerik.com/demos/aspnet/Input/Examples/RadMaskedTextBox/ShowHint/DefaultCS.aspx
2) You are using RadToolTip together with RadInput?
Kind regards,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you specify which tooltip are you talking about?
1) Hint support - http://www.telerik.com/demos/aspnet/Input/Examples/RadMaskedTextBox/ShowHint/DefaultCS.aspx
2) You are using RadToolTip together with RadInput?
Kind regards,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
baharris
Top achievements
Rank 1
answered on 04 Jun 2008, 02:15 PM
I was talking about the tooltip that displays with the RadTextBox. But I have changed my mind. I want to use the RadToolTip instead so I can customize the look of it. I have tried to use the RadToolTip with the RadTextBox but I cannot get the tooltip to display. I am setting the IsClientID to true and using the "_text" after my TargetControlID. Any ideas why it is still not working?
Thanks!
Thanks!
0
Accepted
Hi Blake,
Please try this:
ASPX / ASCX:
Javascript:
This will make the tooltip show on page load and hide it when you focus the textbox.
Let us know if you need further advice.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please try this:
ASPX / ASCX:
| <telerik:RadToolTip |
| ID="RadToolTip1" |
| runat="server" |
| Text="RadToolTip" |
| RelativeTo="Element" |
| TargetControlID="RadTextBox1_text" |
| IsClientID="true" |
| Position="BottomRight" |
| ShowEvent="FromCode" /> |
| <telerik:RadTextBox |
| ID="RadTextBox1" |
| runat="server" |
| Text="RadTextBox" |
| ClientEvents-OnLoad="tonload" |
| ClientEvents-OnFocus="tonfocus" /> |
Javascript:
| function tonload(sender, args) |
| { |
| var radToolTip = $find("<%= RadToolTip1.ClientID %>"); |
| radToolTip.show(); |
| } |
| function tonfocus(sender, args) |
| { |
| var radToolTip = $find("<%= RadToolTip1.ClientID %>"); |
| if (radToolTip.isVisible()) |
| { |
| radToolTip.hide(); |
| } |
| } |
This will make the tooltip show on page load and hide it when you focus the textbox.
Let us know if you need further advice.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
