Completed
Last Updated: 14 Feb 2017 09:06 by ADMIN
How to reproduce: check the attached video

Workaround: 
public partial class Form1 : Form
{
    private RadButtonElement buttonHeader;
    private RadButtonElement buttonFooter; 

    public Form1()
    {
        InitializeComponent();

        this.buttonHeader = (RadButtonElement)this.richTextEditorRibbonBar1.GetType().GetField("buttonHeader", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this.richTextEditorRibbonBar1);
        this.buttonFooter = (RadButtonElement)this.richTextEditorRibbonBar1.GetType().GetField("buttonFooter", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this.richTextEditorRibbonBar1);
        
        this.radRichTextEditor1.RichTextBoxElement.IsInHeaderFooterEditModeChanged += RichTextBoxElement_IsInHeaderFooterEditModeChanged;
    }
    
    private void RichTextBoxElement_IsInHeaderFooterEditModeChanged(object sender, EventArgs e)
    {
        if (!this.radRichTextEditor1.RichTextBoxElement.IsInHeaderFooterEditMode)
        {
            this.buttonHeader.Enabled = true;
            this.buttonFooter.Enabled = true;
        }
        else
        {
            this.buttonHeader.Enabled = false;
            this.buttonFooter.Enabled = false;
        }
    }
}

Completed
Last Updated: 16 May 2017 10:02 by ADMIN
Workaround: 
private void ClearDictionaries(RadRichTextEditor editor)
{
    var dictionaries = typeof(DocumentSpellChecker).GetField("dictionaries", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(editor.SpellChecker) as Dictionary<CultureInfo, Lazy<IWordDictionary>>;
    dictionaries.Clear();
    var customDictionaries = typeof(DocumentSpellChecker).GetField("customDictionaries", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(editor.SpellChecker) as Dictionary<CultureInfo, ICustomWordDictionary>;
    customDictionaries.Clear();
}
Completed
Last Updated: 07 Dec 2021 10:35 by ADMIN
Release R3 2020
To reproduce: please refer to the attached sample project. You will notice that the exported HTML content from the left RadRichTextEditor is imported to the right and the bullets are not the same.
Completed
Last Updated: 28 Jun 2017 10:04 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
1
To reproduce: try to hide the caret: 
this.radRichTextEditor1.CaretWidth = 0;

Workaround:

//Flow layout
this.radRichTextEditor1.LayoutMode = DocumentLayoutMode.Flow;
Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter webLayoutPresenter =
    this.radRichTextEditor1.RichTextBoxElement.ActiveEditorPresenter as Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter;
webLayoutPresenter.Caret.Width = 0;

//Page layout
this.radRichTextEditor1.LayoutMode = DocumentLayoutMode.Paged;
Telerik.WinControls.RichTextEditor.UI.DocumentPrintLayoutPresenter activeEditorPresenter1 = 
    this.radRichTextEditor1.RichTextBoxElement.ActiveEditorPresenter as DocumentPrintLayoutPresenter;
activeEditorPresenter1.Caret.Width = 0;
Completed
Last Updated: 15 Aug 2017 10:54 by ADMIN
How to reproduce:  set the page view in backstage, add a page item and set its text to be very long

Workaround: use the custom theme
Completed
Last Updated: 06 Jun 2019 13:35 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.610)
Completed
Last Updated: 05 Sep 2017 07:48 by ADMIN
Currently, the document won't be imported due to an exception when decoding the base64 string image source. The expected behavior is the document to be imported and the image to be shown as a missing image.

Completed
Last Updated: 01 Sep 2017 06:51 by ADMIN
How to reproduce: set the RadRichTextEditor.IsReadOnly property to true, focus the control, use the Ctrl + K shortcut. The InsertHyperlinkDialog will be opened.

Workaround: handle the CommandExecuting event
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        this.radRichTextEditor1.IsReadOnly = true;
        this.radRichTextEditor1.CommandExecuting += RadRichTextEditor1_CommandExecuting;
    }

    private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
    {
        if (this.radRichTextEditor1.IsReadOnly && e.Command is ShowInsertHyperlinkDialogCommand)
        {
            e.Cancel = true;
        }
    }
}

Completed
Last Updated: 10 Jan 2018 04:56 by ADMIN
In certain fonts the caret is drawn on part of the last inputted character
Completed
Last Updated: 26 Feb 2020 16:34 by ADMIN
Release R3 2019
To reproduce: run the project and maximize the form. When you enter some text you will notice that the text is cut off.

Workaround: use paged layout.
Completed
Last Updated: 06 Jun 2018 08:12 by Dimitar
To reproduce: please refer to the attached sample project and follow the steps in the gif file. 

Workaround: 

        private void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
        {
            if (e.Command  is ChangeIntegratedWatermarkTypeCommand && this.radRichTextEditor1.LayoutMode!= Telerik.WinForms.Documents.Model.DocumentLayoutMode.Paged)
            {
                e.Cancel = true; 
            }
        }
Completed
Last Updated: 13 Mar 2019 16:37 by ADMIN
Release 2019.1.117
To reproduce: 
var d = new RadDocument();
var s = d.GetStatisticsInfo();

Workaround:
var d = new RadDocument();

if (d.Sections.Count > 0 && d.Sections.Last.Blocks.Count >0)
{
    var s = d.GetStatisticsInfo();
}  
Completed
Last Updated: 13 Mar 2019 14:58 by ADMIN
Release 2019.1.219
When the document is protected, CommandExecuting is not raised when the user double clicks the header or footer area.
Completed
Last Updated: 14 Feb 2019 16:13 by ADMIN
Created by: Mihajlo
Comments: 2
Category: RichTextEditor
Type: Bug Report
1

I added this line just before Application.Run(new MainForm()); in Word-inspired project:

RichTextBoxLocalizationProvider.CurrentProvider = RichTextBoxLocalizationProvider.FromFile(@"AllCapsRichTextBoxStrings.xml");

 

I took RichTextBoxStrings.xml from localization page of RichTextEditor. In the xml file I converted all the text between <value> tags to uppercase, and also replaced "OK" (value of "Confirm" data element) with "AYE". I expected all the OK's in all the forms within rich text editor to be replaced, but they all remained as "Ok" (note the lower case "k" here). Well, all except Page Layout > Columns form, which did display AYE, and also References > Insert citation. So, here are the issues that I found:

  • XML file in localizaiton page of RichTextEditor is missing entries for resources "Ok", "Insert", and "Apply".
  • "Ok" resource is used in most places, but "Confirm" resource (with value "OK") is used in AddNewBibliographicSourceDialog.cs and SectionColumns\SectionColumnsDialog.cs. This seems inconsistent.
  • Paper sizes are not localizable, which is actually fine by me for all but the last paper size, "Size14x10", but then what is the purpose of all RibbonUI_PaperSizeXxx resources in resource file?
  • Value of resource "Documents_InsertHyperlinkDialog_SelectionInDocument" is weird. Not sure this resource should even exist, as I could not make it appear in the InsertHyperlinkDialog. Looks like a dummy placeholder.
  • Fallback mechanism for missing resources is weird. If resource is missing the resource name is returned as resource value, which is the reason why Ok, Insert, and Apply are actually shown. Maybe this is intentional, if resource is missing it will be obvious (for unusual resource names). Alternative would be not to change the string at all, as it is already set to default english in .Designer.cs file anyway. So instead of "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource");" it would be something like "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource", this.someTextBox.Text);".

To create AllCapsRichTextBoxStrings.xml, make a copy of provided resource file, open it in Notepad++ and replace all <value>([^<]*)</value> with <value>\U\1\E</value> using regular expressions, and then replace all &AMP;, &LT; and &GT; with &amp;, &lt; and &gt;.

Completed
Last Updated: 14 Feb 2019 12:37 by ADMIN
If we open paragraph properties dialog and then Tabstops properties dialog, and then close the second one the first one will also close automatically.
Completed
Last Updated: 23 Feb 2021 10:38 by ADMIN
Release R1 2021 SP2

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.

Completed
Last Updated: 31 May 2019 10:26 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.603)
Created by: Mihajlo
Comments: 4
Category: RichTextEditor
Type: Bug Report
1

In R2 2019 RichTextEditor has a new GUI element, a toggle button named Simplified Ribbon. It looks neat, and I like it, but now I have to localize it. There is a link to a strings file on page https://docs.telerik.com/devtools/winforms/controls/richtexteditor/localization , but I can't find the text "simplified ribbon" in that xml file.

My fallback plan is to download the whole Telerik source code, I'm just reminding you here to update the file. And to ask you to update the file together with Telerik update in the future.

Completed
Last Updated: 09 Oct 2019 11:51 by ADMIN
Release R3 2019 SP1

StackTrace:

   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.GetFormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.get_FormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.ExportFormatScheme()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocumentThemeExporter.Export()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocxExporter.AddXmlContentToPackage(DocxPartExporterBase exporter)
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.Export.DocxExporter.Export()
   at Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider.Export(RadDocument document, Stream output)

Completed
Last Updated: 21 Aug 2020 12:32 by ADMIN
Release R3 2020 (LIB 2020.2.826)

Please refer to the attached IncorrectImageResizing.gif illustrating how to reproduce the problem with the Demo application.

Workaround: feel free to resize the image via the mouse cursor.