Last Updated: 06 Feb 2019 14:06 by ADMIN
Created on: 05 Feb 2019 17:09
Category: RichTextEditor
Type: Bug Report
FIX. RadRichTextEditor - Context menu enabled for text in header in footer after we close them

Right-click on header/footer usually does nothing. If we double-click them we enter their edit mode. After we close header and footer and right-click on them we get context menu as if we are still in edit mode. If we scroll out of view of header/footer, and then back in, right-click will again do nothing.

Also, separate but similar bug, in demo document's footer there is a three-column table. It is possible to resize with the mouse all the columns widths, and even the row height. Mouse will change shape, as if in edit mode. It is not necessary to enter and leave edit mode like in previous case, the error is observable from the start. But if we scope out and scope back in the changes are undone, in a way like in previous case.

1 comment
Dess | Tech Support Engineer, Sr.
Posted on: 06 Feb 2019 14:06
Hello, Mihajlo,         

I confirm that the context menu wouldn't be displayed over the header after exiting edit mode. 

I have also updated your Telerik points.

Currently, due to the complexity of the issue I am not able to suggest a stable solution. However, the possible approach that I can suggest is to handle the CommandExecuting event and disable the context menu when you close the editor in the header/footer as follows: 

private void radRichTextEditor1_CommandExecuting(object sender, CommandExecutingEventArgs e)
    if (e.Command is ExitHeaderFooterEditModeCommand)
        this.radRichTextEditor1.RichTextBoxElement.IsContextMenuEnabled = false;
I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.