This question is locked. New answers and comments are not allowed.
I have more than one RadRichTextBox with spellchecking turned on in a grid and I am providing my own ContextMenuContentBuilder. When I highlight a misspelled word in the first RadRichTextBox and choose a suggestion from the context menu, the word is corrected but only the first letter of the word is displayed. Subsequent clicking on the word causes a crash (Object reference not set to an instance of an object). I have pasted in the MainPage of the project below to reproduce the bug. Have I done something incorrectly? If not, are there any workarounds available? If no workarounds, will there be a fix soon? Thanks.
public partial class MainPage : UserControl { public class CustomContextMenuContentBuilder : ContextMenuContentBuilder { public CustomContextMenuContentBuilder(RadRichTextBox richTextBox) : base(richTextBox) { } } public MainPage() { InitializeComponent(); LayoutRoot.Children.Add(CreateRichTextControls(0, 0)); LayoutRoot.Children.Add(CreateRichTextControls(1, 1)); } private RadRichTextBox CreateRichTextControls(int row, int col) { RadRichTextBox control = new RadRichTextBox(); control.HorizontalAlignment = HorizontalAlignment.Stretch; control.VerticalAlignment = VerticalAlignment.Stretch; control.Background = new SolidColorBrush(Colors.LightGray); control.SetValue(Grid.RowProperty, row); control.SetValue(Grid.ColumnProperty, col); Telerik.Windows.Controls.RichTextBoxUI.ContextMenu contextMenu = (Telerik.Windows.Controls.RichTextBoxUI.ContextMenu)control.ContextMenu; contextMenu.ContentBuilder = new CustomContextMenuContentBuilder(control); return control; } }