Unplanned
Last Updated: 28 Feb 2018 12:56 by ADMIN
Unplanned
Last Updated: 19 Jun 2017 13:30 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Feature Request
3

			
Unplanned
Last Updated: 05 Apr 2017 14:51 by ADMIN
The RTF specifications states that the header of the document should start with "\rtfN" where N is the version of the RTF. Currently, the RtfFormatProvider do not save the version, but only "\rtf". Most software handles this case, but in some cases the document cannot be read.
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();
}
Declined
Last Updated: 14 Aug 2017 13:10 by Felix
Unplanned
Last Updated: 05 Apr 2017 14:36 by ADMIN
How to reproduce:
1. Run the Mail Merge example (QSF) 

2. Select the image inside the document and move it to another position
Completed
Last Updated: 14 Feb 2017 15:20 by ADMIN
Workaround: 
public class CustomRadRichTextEditor : RadRichTextEditor
{
    /// <summary>
    /// Gets or sets the width of the caret.
    /// </summary>
    [Browsable(false)]
    [Category(RadDesignCategory.AppearanceCategory)]
    public new float CaretWidth
    {
        get
        {
            float caretWidth = base.CaretWidth;
            if (float.IsNaN(caretWidth))
            {
                return 2;
            }

            return caretWidth;
        }
        set 
        { 
            base.CaretWidth = value; 
        }
    }
}
Unplanned
Last Updated: 15 Aug 2017 10:08 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 2
Category: RichTextEditor
Type: Feature Request
13
When the caret position is inside Table and a page break is inserted, the table should be split into two tables with a page break between.
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;
        }
    }
}

Declined
Last Updated: 19 Jun 2017 12:41 by ADMIN
To reproduce:
- Add a word, press tab the add another word.
- Export the document using HtmlFormatProvider.
- Import the same document.
- The tab is interpreted like 7 spaces. 
Unplanned
Last Updated: 19 Jun 2017 11:41 by ADMIN
To reproduce: please refer to the attached gif file

Add a custom tab in the ribbon UI and a RadDropDownListElement bound to a list of strings. The first item is selected by default. Insert a table by using the ribbon UI and try to get programmatically the RadDropDownListElement.SelectedValue/Index. It is null/-1 although the text is correct.

Workaround:

public class CustomRichTextEditorRibbonBar : RichTextEditorRibbonBar
{
           protected override void CreateChildItems(RadElement parent)
    {
        base.CreateChildItems(parent);
        FieldInfo fi = typeof(RadRibbonBar).GetField("ribbonBarElement", BindingFlags.Instance | BindingFlags.NonPublic);
        RadRibbonBarElement ribbonBarElement = fi.GetValue(this) as RadRibbonBarElement;

        ribbonBarElement = new CustomRadRibbonBarElement();
        fi.SetValue(this, ribbonBarElement);
        this.RootElement.Children.Add(ribbonBarElement);

        ribbonBarElement.CommandTabSelecting +=
            delegate (object sender, CommandTabSelectingEventArgs args) { OnCommandTabSelecting(args); };
        ribbonBarElement.CommandTabSelected +=
            delegate (object sender, CommandTabEventArgs args) { OnCommandTabSelected(args); };

        ribbonBarElement.ExpandedStateChanged += delegate (object sender, EventArgs args)
        {
            this.OnRibbonBarExpandedStateChanged(args);
        };


    }
}

public class CustomRadRibbonBarElement : RadRibbonBarElement
{
  
    protected override float GetMaximumTabContentHeight()
    {
        return 104; 
    }
}
Unplanned
Last Updated: 14 Aug 2017 13:06 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Feature Request
1

			
Completed
Last Updated: 07 May 2019 08:27 by ADMIN
Release R2 2019
ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
To reproduce:
- Click the AA Styles button to open the Styles dialog.
- Scroll down and select the CodeBlock item
- The style does not change


 
Completed
Last Updated: 19 Jun 2017 12:04 by ADMIN
To reproduce:
- Click the InsertMergeFiled button before setting the data source.
- Set the data source.
- Click the button again.
- There are no items in it.
 

Workaround:
Friend Class MyRichTextEditorRibbonBar
    Inherits RichTextEditorRibbonBar



    Protected Overrides Sub dropDownButtonInsertMergeField_DropDownOpening(sender As Object, e As CancelEventArgs)
        MyBase.dropDownButtonInsertMergeField_DropDownOpening(sender, e)
        If Me.dropDownButtonInsertMergeField.Items.Count = 0 Then
            Me.dropDownButtonInsertMergeField.Items.Add(New RadItem)
        End If
    End Sub

End Class

Completed
Last Updated: 13 Oct 2022 14:05 by ADMIN
Release R3 2022 SP2
"http://" prefix is automatically added by the Insert Hyperlink Dialog when the provided URI is to local path or mapped drive, e.g. "Z:\temp".

Workaround 1: Set HyperlinkPattern to something that matches file paths, e.g.:
(this.radRichTextEditor1.RichTextBoxElement.InsertHyperlinkDialog as InsertHyperlinkDialog).HyperlinkPattern = ".*";

Workaround 2: Insert such paths with the "file://" prefix.
Unplanned
Last Updated: 06 Feb 2017 10:00 by ADMIN
How to reproduce:
private void radButton1_Click(object sender, EventArgs e)
{
    RadPrintDocument doc = new RadPrintDocument();
    doc.Margins = new Margins(0, 0, 10, 10);

    doc.AssociatedObject = this.radRichTextEditor1;
    RadPrintPreviewDialog dialog = new RadPrintPreviewDialog();
    dialog.Document = doc;
    dialog.ShowDialog();
}

Workaround: apply the margins on the document loaded in the editor
private void radButton1_Click(object sender, EventArgs e)
{
    RadPrintDocument doc = new RadPrintDocument();
    this.radRichTextEditor1.Document.SectionDefaultPageMargin = new Telerik.WinForms.Documents.Layout.Padding(0, 0, 10, 10);

    doc.AssociatedObject = this.radRichTextEditor1;
    RadPrintPreviewDialog dialog = new RadPrintPreviewDialog();
    dialog.Document = doc;
    dialog.ShowDialog();
}

Unplanned
Last Updated: 27 Dec 2016 15:34 by ADMIN
InvalidOperationException is thrown in the IsInNonEditableRange() method of RadDocument when assigning a document to RadRichTextBox, which is created through the model and contains several read-only ranges.

Workaround: Call MeasureAndArrangeInDefaulSize().
Completed
Last Updated: 27 May 2019 11:40 by ADMIN
Release Fixed in R2 2019 (LIB 2019.2.603)