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

How to Set customize Tooltip Text for the RadWindows Image Buttons

3 Answers 90 Views
Window
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 01 Nov 2008, 06:02 AM
Hi There,
I am facing a problem in setting a ToopTip for the Image Buttons(Close,Minimize,Maxmize) on the RadWindows. I want set  a help image in the Radwindows and want to set the ToolTip text on Mouse over  is "Help".
How can I do this.
Please, sugggest some solution.

Thanks in Advance,
Raj

 

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Nov 2008, 02:32 PM

Hello Raj,

Currently, 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" : "Close", 
    "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 tooltip for the Minimize icon for example, you should change the "Minimize" string after the colons.

As to your other question, about adding a custom icon in the RadWindow's Titlebar, I suggest to examine this thread.

All the best,

Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
david
Top achievements
Rank 1
answered on 18 Nov 2008, 06:26 PM
I tried to use this approach but, doesn't work for me.
Where i have to put this javascript?

David
0
Raj
Top achievements
Rank 1
answered on 19 Nov 2008, 09:29 AM
Hello David,

Put this code in the  client-side script which open the Radwindow before the calling the  window.radopen().


Telerik.Web.UI.RadWindowUtils.Localization =
    {
    "Close" : "Close",  
    "Minimize" : "Help",  
    "Maximize" : "Maximize",  
    "Reload" : "Reload",  
    "PinOn" : "Help",  
    "PinOff" : "Pin off",  
    "Restore" : "Restore",  
    "OK" : "Help",  
    "Cancel" : "Cancel",  
    "Yes" : "Yes",  
    "No" : "No"    
    }; 


All the Best,
Raj

Tags
Window
Asked by
Raj
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
david
Top achievements
Rank 1
Raj
Top achievements
Rank 1
Share this question
or