Hi Auðunn,
The dialogs are designed to use the
built-in localization of RadEditor control. Nevertheless,
further customization of the built-in dialogs could be a possible approach to achieve getting the translated text from database.
For this approach first you need to get the original dialogs from
[installation_folder]/EditorDialogs.
After that copy them in a desired folder in your project and point the path to them as value in the
ExternalDialogsPath property.
In the dialog files you could see that the text values are set with JavaScript code like this:
You could modify the wrapper elements with setting the
runat property and an unique
ID. With these modifications you should be able to set the values from the code-behind and use a database.
Please note that such customizations are out of the scope of our support service and you should use them at your own risk.
Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the
blog feed now.