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

RadWindow title bar buttons tooltip localized

1 Answer 212 Views
Window
This is a migrated thread and some comments may be shown as answers.
riz
Top achievements
Rank 1
riz asked on 17 Apr 2009, 08:17 AM
Hi,

In my application i have a RadWindow displayed on click on a "Display" button.
But my application is entirely localized in "fr-FR" culture. And the tooltips of title bar buttons are in "en-US" culture.

How can i changed the tooltip text on a title bar button. I was looking for a way to rich the property in codebehind but without any result.

Does someone have an idea?

Thanks.

Riz.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 17 Apr 2009, 11:36 AM
Hello Riz,

You can change the localization strings of the RadWindow for ASP.NET AJAX control by using the following JavaScript code:

Telerik.Web.UI.RadWindowUtils.Localization =   
{  
    "Close" : "My custom 'Close' text",  // For example ;
    "Minimize" : "Minimize",  
    "Maximize" : "Maximize",  
    "Reload" : "Reload",  
    "PinOn" : "Pin on",  
    "PinOff" : "Pin off",  
    "Restore" : "Restore",  
    "OK" : "OK",  
    "Cancel" : "Cancel",  
    "Yes" : "Yes",  
    "No" : "No"    
};   

Please, change the string after the colons and they will be shown as text to the buttons or in the tooltip when you hover over the RadWindow buttons. For changing the text buttons in RadPrompt you need to replace the "OK" and "Cancel" strings after the colons.
 
For your convenience I attached a sample demo.
I hope this helps.

Best wishes,
Fiko
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
Window
Asked by
riz
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or