Completed
Last Updated: 15 Sep 2015 07:32 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 14 Sep 2015 10:37
Category: RichTextEditor
Type: Bug Report
0
FIX. RadRichTextEditor - when creating a custom RichTextBoxLocalizationProvider all strings in RichTextEditorRibbonBar that are not explicitly specified are displayed with incorrect text
To reproduce: use the code snippet below. Please refer to the attached screenshot.

public Form1()
{
    RichTextBoxLocalizationProvider.CurrentProvider = new MyRichTextBoxLocalizationProvider();
    InitializeComponent();
}

public class MyRichTextBoxLocalizationProvider : RichTextBoxLocalizationProvider
{
    public override string GetLocalizedString(string id)
    { 

        return base.GetLocalizedString(id);
    }
}

Workaround: 
Modify the XML file containing all the strings RichTextBoxLocalizationProvider.CurrentProvider = RichTextBoxLocalizationProvider.FromFile(@"C:\RichTextBoxStrings.xml");. You can download a XML file that contains all the currently used strings from here: http://www.telerik.com/docs/default-source/ui-for-winforms/richtextboxstrings.zip?sfvrsn=2
Attached Files:
0 comments