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

'Close' tooltip RadToolTip

1 Answer 206 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Radoslaw
Top achievements
Rank 1
Radoslaw asked on 22 Jul 2008, 06:27 AM
Hi!

Can I change the tooltip text (which is now 'Close') of the close button of the RadToolTip?

Best Regards
Radek

1 Answer, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 22 Jul 2008, 08:56 AM
Hello Radoslaw,

In the RadToolTip control, there is only one element which could be translated - its Close button, when you have set the ManualClose property to true. The localization mechanism is pretty complex and for the time being there are not a lot of customers' requests for embedding it in this control. That is why there is not such for now but we are considering implementing a corresponding property in the future.

What I can suggest as a workaround is to get the particular A element and set its title to the desired custom text. The mentioned element does not have an ID and that is why you can get a reference to it by using the getElementsByClassName function. It is not supported in IE and that is why you should also add its code on your page.

For your convenience I prepared a sample demo which shows how to achieve the desired behavior.




Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Radoslaw
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or