Completed
Last Updated: 23 Feb 2021 10:38 by ADMIN
Release R1 2021 SP2
Mihajlo
Created on: 05 Feb 2019 17:09
Category: RichTextEditor
Type: Bug Report
1
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.

2 comments
ADMIN
Hristo
Posted on: 18 Jan 2021 08:27

Hello,

The problematic behavior related to the sizable table borders is moved to a separate issue so that it can be better tracked: RadRichTextEditor: Table borders in the header or footer should be resized only when the header or footer is in edit mode.

Regarding the context menu, the correct behavior would be to display Edit Header/Edit Footer menu item, just as it is in Word. This item is also being investigated at the moment.

Regards,

Hristo

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.
ADMIN
Dess | Tech Support Engineer, Principal
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.

Regards,
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.