Celtic Coding Solutions Blog

Celtic Coding Solutions Blog - for everything computer related

Asp.Net Telerik RadAlert RadWindow change globalization language culture

Using Telerik excellent RadAlert within RadWindowManager in an Asp.Net Web Application and I need to translate my website into another language other than English.  So how do we change the RadAlert text on the buttons to be a different language depending on the users browser language settings?

For this I am using an Asp.Net Master Page and including both the RadWindowManager + RadScriptManager e.g.


Next create a Global Resources file for the default language (this case English) and also the language you are catering for (this case German):-


Change the MasterPage's code behind to associate the locatization file with the buttons:-


And that is it, so when a user runs your Web Application in a browser set to German it will now automatically change the buttons to the correct language for things like RadAlert.

Comments are closed