Completed
Last Updated: 02 Sep 2016 10:00 by ADMIN
Completed
Last Updated: 23 Aug 2016 09:29 by ADMIN
Please refer to the attached screenshot. It is not possible to localize the marked label.

Workaround:

 Sub New()
     InitializeComponent() 
     Me.RadRichTextEditor1.RichTextBoxElement.InsertHyperlinkDialog = New CustomInsertHyperlinkDialog()
 End Sub

 Public Class CustomInsertHyperlinkDialog
     Inherits InsertHyperlinkDialog
     Protected Overrides Sub OnLoad(e As EventArgs)
         MyBase.OnLoad(e)
         Me.Controls("radLabel4").Text = "My address"
     End Sub
 End Class

Completed
Last Updated: 23 Aug 2016 09:03 by ADMIN
Workaround: use a custom RichTextEditorRibbonBar

Public Class CustomRichTextEditorRibbonBar
Inherits RichTextEditorRibbonBar

    Dim headerText As String
    Protected Overrides Function GetInsertTableItems() As RadItemCollection
        Dim collection As RadItemCollection = MyBase.GetInsertTableItems()
        Dim headerItem As RadMenuInsertTableItem = TryCast(collection(0), RadMenuInsertTableItem)
        headerText = "My Header Text"
        Dim fi As FieldInfo = GetType(RadMenuInsertTableItem).GetField("header", BindingFlags.NonPublic Or BindingFlags.Instance)
        Dim header As LightVisualElement = fi.GetValue(headerItem)
        header.Text = headerText
        AddHandler header.TextChanged, AddressOf header_TextChanged
        Return collection
    End Function

    Private Sub header_TextChanged(sender As Object, e As EventArgs)
        Dim lve As LightVisualElement = TryCast(sender, LightVisualElement)
        If lve.Text = "Insert Table" Then
            lve.Text = headerText
        End If
    End Sub
End Class
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: 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; 
        }
    }
}
Completed
Last Updated: 15 Aug 2017 10:29 by ADMIN
Completed
Last Updated: 07 Dec 2017 15:23 by ADMIN
To reproduce:
- Open the demo application.
- Go to the Table Styles example.
- Open the TableBorders dialog from the context menu and hit reset all.

Completed
Last Updated: 03 May 2018 06:52 by Dimitar
Workaround: 
private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is SaveCommand)
    {
        DocumentPosition initial = this.radRichTextEditor1.Document.CaretPosition;
        DocumentPosition start = new DocumentPosition(initial);
        DocumentPosition end = new DocumentPosition(initial);

        var spans = this.radRichTextEditor1.Document.EnumerateChildrenOfType<Span>();
        foreach (var span in spans)
        {
            if (span.FontStyle != FontStyle.Regular)
            {
                continue;
            }

            start.MoveToInline(span);
            end.MoveToEndOfDocumentElement(span);

            this.radRichTextEditor1.Document.Selection.AddSelectionStart(start);
            this.radRichTextEditor1.Document.Selection.AddSelectionEnd(end);

            this.radRichTextEditor1.RichTextBoxElement.Commands.ChangeFontFamilyCommand.Execute("Calibri");
        }

        this.radRichTextEditor1.Document.CaretPosition.MoveToPosition(initial);
    }
}
Completed
Last Updated: 21 Jun 2018 14:41 by ADMIN
Completed
Last Updated: 01 Jun 2018 15:43 by Dimitar
Workaround: If possible set the layout mode to FlowNoWrap
this.radRichTextEditor1.Document.LayoutMode = Telerik.WinForms.Documents.Model.DocumentLayoutMode.FlowNoWrap;
Completed
Last Updated: 23 May 2019 13:19 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.527)
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
To reproduce: run the Demo application >> RichTextEditor >> First Look example and follow the steps illustrated in the attached gif file. 

1. First add a footnote in the text
2. Than select a part of the footnote text or all text and use the context menu to cut the text
3. Then,  paste the text in the document, it doesn't matter were.
4. Next step is to remove the footnote reference.
5.Then, scroll through the document and press the right mouse button to open the context menu.

The object release should have been called and the context menu is disposed. If so the error occurs.

Workaround:

this.radRichTextEditor1.MouseClick += radRichTextEditor1_MouseClick;

        private void radRichTextEditor1_MouseClick(object sender, MouseEventArgs e)
        {
            if (e.Button == System.Windows.Forms.MouseButtons.Right)
            {
                if (this.radRichTextEditor1.RichTextBoxElement.ContextMenu != null)
                {
                    FieldInfo fi = typeof(Telerik.WinControls.RichTextEditor.UI.ContextMenu).GetField("radDropDownMenu", BindingFlags.Instance | BindingFlags.NonPublic);
                    RadDropDownMenu dropdown = fi.GetValue(this.radRichTextEditor1.RichTextBoxElement.ContextMenu) as RadDropDownMenu;
                    if (dropdown.IsDisposed)
                    {
                        this.radRichTextEditor1.RichTextBoxElement.ContextMenu = new Telerik.WinControls.RichTextEditor.UI.ContextMenu();
                    }
                }
            }
        }
Completed
Last Updated: 17 Aug 2018 08:45 by Dimitar
To reproduce:
1. Open the following article: https://aajtak.intoday.in/gallery/indonesian-tsunami-warning-earthquake-lombok-island-dead-body-1-24549.html
2. Copy its title
3. Paste in Notepad/Notepad++
4. Copy from notepad
5. Paste in RTE
Completed
Last Updated: 03 Dec 2018 17:22 by Dimitar
Completed
Last Updated: 27 May 2019 10:37 by ADMIN
Release Fixed in R2 2019 (2019.2.527)
Completed
Last Updated: 01 Jul 2019 15:00 by ADMIN
Release R3 2019 (LIB 2019.2.708)
Created by: Tomasz
Comments: 6
Category: RichTextEditor
Type: Bug Report
0

1. Document created via MS-Word, Page orientation is set to Landscape. (MS-Word works OK)

2. Document read into Telerik RichTextEditor and print ignore Landscape settings.

3. Documet "Landscape.rtf" and snapshot in attachmet 

please help me 

Completed
Last Updated: 22 Jul 2019 13:57 by ADMIN
Release R3 2019 (LIB 2019.2.729)

To reproduce:

Type a word and then change the font. The RichTextEditor is not focused. When you click in it the font is restored.

Workaround: 
class MyRichtTextEditorRibbonbar : RichTextEditorRibbonBar
{
    public MyRichtTextEditorRibbonbar()
    {
        this.dropDownListFont.PopupClosed += DropDownListFont_PopupClosed;
    }

    private void DropDownListFont_PopupClosed(object sender, RadPopupClosedEventArgs args)
    {
        this.associatedRichTextEditor.Focus();
    }

  
}

 

Completed
Last Updated: 07 Nov 2019 14:19 by ADMIN
Release R1 2020 (LIB 2019.3.1111)

The tab order in the dialog is incorrect, the dialog is not focused when shown.

Workaround: 

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        radRichTextEditor1.RichTextBoxElement.FindReplaceDialog = new MyFindReplaceDialog();

    }
}
class MyFindReplaceDialog : FindReplaceDialog
{
    public MyFindReplaceDialog()
    {
        this.Controls[0].TabIndex = 2; // FindNext button
        this.Controls[1].TabIndex = 3; // Replace Button
        this.Controls[2].TabIndex = 5; // CloseButton
        this.Controls[3].TabIndex = 4; // Replace All button
        //this.Controls[4].TabIndex = 5; // label
        //this.Controls[5].TabIndex = 5; // label
        this.Controls[6].TabIndex = 1; // RepalceWith textbox
        this.Controls[7].TabIndex = 0; // TextToFind  textbox
         

    }
    protected override void OnShown(EventArgs e)
    {
        base.OnShown(e);
        this.Controls[7].Focus();
    }
}

Completed
Last Updated: 07 Feb 2020 10:00 by ADMIN
Release R1 2020 SP1 (LIB 2020.1.210)

I have a RadRichTextEditor. When it contains multiple lines a vertical scroll bar is shown. When I keep writing and press the enter key to insert a carriage return, it starts a new paragraph but the cursor disappears. 

When I press return at the bottom of this control I want the cursor to be kept in sight. See the screenshots I have attached. You can see that after the return you can only see the very top of the cursor, the rest is hidden. You have to actually manually scroll down to get it into view.

When you start typing, this cursor comes into view, but I want it to be in view even if you just press return. Is there a way to get it to do this?

This seems to be the default behavior of this control, as I have created a new application to show this, which doesn't contain any of the formatting which my actual application does.