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

LinkManager and title texts

1 Answer 49 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sean
Top achievements
Rank 1
sean asked on 04 Oct 2011, 07:47 AM
Hi!

I know how to add my own localized texts for editor's toolbar in the code-behind, but how do I do it for LinkManager dialogbox? I'd like to use my own database and custom ResourceProviderFactory.

Example how I do it for toolbar:

Dim editor As New Telerik.Web.UI.RadEditor
editor.EditModes = EditModes.Design
Dim toolGroup As New Telerik.Web.UI.EditorToolGroup
editor.Tools.Add(toolGroup)
Dim bold As New Telerik.Web.UI.EditorTool
bold.Name = "Bold"
bold.Text = HttpContext.GetGlobalResourceObject("Global", "editorBold")
toolGroup.Tools.Add(bold)

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Oct 2011, 02:58 PM
Hello Sean,

RadEditor does not offer the requested feature to localize its dialogs through the Localization property because the dialogs are not part of the editor control and they are separate ascx files, which are not placed on the same page with the editor. The implementation of the required feature will be extremely hard as well as it requires to output extra localizations strings / markup on the page which will slow down the page loading.

For the time being, the only possible way to localize the editor's dialogs is to use the provided resx files and create different localizations.

Kind regards,
Rumen
the Telerik team
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 their blog feed now
Tags
Editor
Asked by
sean
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or