I use radConfirm for few confirmations, What is the easiest way to just change the text on radConfirm from OK/Cancel to Yes/no?
Thanks
Atiq
1 Answer, 1 is accepted
0
Accepted
Svetlina Anati
Telerik team
answered on 04 Aug 2008, 02:55 PM
Hello Atiq,
Currently, you can change the localization strings of the RadWindow for ASP.NET AJAX control by using the following Javascript code that should be placed after the RadWindow / RadWindowManager declaration:
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"
};
This being said, in order to localize the radconfirm in the desired manner, you should change the OK and Cancel values to the desired ones.
If you need further assistance, do contact us again.
Best wishes,
Svetlina
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.