Completed
Last Updated: 16 Sep 2015 08:19 by ADMIN
The LocalizeStrings method of the FloatingBlockPropertiesDialog refers to the "Documents_FindReplaceDialog_ReplaceWith" string. This should be "Documents_FloatingBlockPropertiesDialog_TextWrapping"

Workaround:
public Form1()
{
    InitializeComponent();

    FieldInfo fi = this.radRichTextEditor1.RichTextBoxElement.FloatingBlockPropertiesDialog.GetType().GetField("radPageViewPage2", BindingFlags.NonPublic | BindingFlags.Instance);
    RadPageViewPage textWrappingPage = (RadPageViewPage)fi.GetValue(this.radRichTextEditor1.RichTextBoxElement.FloatingBlockPropertiesDialog);
    textWrappingPage.Text = "TextWrapping";
}
Completed
Last Updated: 21 Jun 2016 06:10 by ADMIN
To reproduce:
Seth the default font like this:

radRichTextEditor1.Document.StyleRepository[RadDocumentDefaultStyles.NormalStyleName].SpanProperties.FontFamily = new Telerik.WinControls.RichTextEditor.UI.FontFamily("Segoe Script");
          
radRichTextEditor1.RichTextBoxElement.ChangeFontFamily(new Telerik.WinControls.RichTextEditor.UI.FontFamily("Segoe Script"));
radRichTextEditor1.RichTextBoxElement.ChangeFontSize(Unit.PointToDip(12));
radRichTextEditor1.RichTextBoxElement.ChangeFontStyle(Telerik.WinControls.RichTextEditor.UI.FontStyles.Italic);
radRichTextEditor1.RichTextBoxElement.ChangeFontWeight(Telerik.WinControls.RichTextEditor.UI.FontWeights.Bold);

Start the application and insert header footer and endnotes.
Completed
Last Updated: 03 Jun 2015 13:40 by ADMIN
To reproduce:
- Add RichTextEditorRibbonBar to a form and open it upon button click several times.
- You will notice that the memory is constantly increasing.

Workaround:
protected override void Dispose(bool disposing)
{
    if (disposing && (components != null))
    {
        components.Dispose();
    }

    FieldInfo f1 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableStyle", BindingFlags.NonPublic| BindingFlags.Instance);
    RichTextEditorRibbonTab tab1 = f1.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab1.Dispose();

    FieldInfo f2 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableLayout", BindingFlags.NonPublic | BindingFlags.Instance);
    RichTextEditorRibbonTab tab2 = f2.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab2.Dispose();

    FieldInfo f3 = this.richTextEditorRibbonBar1.GetType().GetField("tabHeaderFooter", BindingFlags.NonPublic | BindingFlags.Instance);
    RichTextEditorRibbonTab tab3 = f3.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab3.Dispose();

    base.Dispose(disposing);
}
Completed
Last Updated: 17 Sep 2015 10:43 by ADMIN
To reproduce:
- Start the demo application 
- Type some text and try to make it bold  with the bold button from the ribbon.

Workaround:
void richTextEditorRibbonBar1_MouseDown(object sender, MouseEventArgs e)
{
    radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar.Hide();
}
Completed
Last Updated: 03 Jun 2015 12:09 by ADMIN
If you populate the document with more than one section as shown below:

Section Section1 = radRichTextEditor.Document.Sections(0);
Paragraph Paragraph1 = new Paragraph(); 
Span Span1 = new Span("Thank you for choosing Telerik");
Section1.Blocks.Add(Paragraph1);

Section Section2 = new Section();
Paragraph Paragraph2 = new Paragraph();
Paragraph2.Inlines.Add(image);
Section2.Blocks.Add(Paragraph2);
radRichTextEditor..Document.Sections.Add(Section2);

then mark as selected the space after the first span, then try to type a character, a NullReferenceException will be thrown.

WORKAROUND:

class MyInputBehavior : RichTextEditor.RichTextEditorInputBehavior
{
	public MyInputBehavior(RadRichTextBox editor) : base(editor) { }

	public override void InsertText(string text)
	{
		if (this.RichTextBox.IsReadOnly) {
			return;
		}

		Telerik.WinForms.Documents.UI.CaretTextInputHandler handler = null;

		DocumentPrintLayoutPresenter printLayout = this.RichTextBox.ActiveEditorPresenter as DocumentPrintLayoutPresenter;

		if (printLayout != null) {
			DocumentPagePresenter pagePresenter = printLayout.GetFocusedPresenter();
			if (pagePresenter == null) {
				pagePresenter = ((Canvas)printLayout.Content).Children[0] as DocumentPagePresenter;
			}
			handler = pagePresenter != null ? pagePresenter.CaretTextInputHandler : null;
		}

		DocumentWebLayoutPresenter webLayout = this.RichTextBox.ActiveEditorPresenter as DocumentWebLayoutPresenter;

		if (webLayout != null) {
			handler = webLayout.CaretTextInputHandler;
		}

		if (handler != null) {
			handler.HandleTextInsertedWithoutIme(this.RichTextBox.ActiveEditor.Document, text);
		}
	}
}

radRichTextEditor.InputHandler = New MyInputBehavior(radRichTextEditor.RichTextBoxElement)
Completed
Last Updated: 03 Jun 2015 12:24 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
1

			
Completed
Last Updated: 02 Nov 2015 12:17 by ADMIN
To reproduce
Write a word in an RightToLeft language and then type "."
You will notice that the dot is moved to the end of the word.
Completed
Last Updated: 31 Mar 2015 07:26 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
Please refer to the attached gif file.
Completed
Last Updated: 22 Oct 2015 10:54 by ADMIN
Completed
Last Updated: 11 Feb 2015 14:10 by ADMIN
To reproduce:
- Add RadRichTextEditor and RichTextEditorRibbonBar to a form.
- Start the application and add some text.
- Change the font size with the ribbon bar.
- Select the text and open the mini toolbar.
Completed
Last Updated: 21 May 2015 11:07 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
1
To reproduce: use the following code snippet. The attached screenshot illustrates the missing border.

Note: It seems that the RadRichTextEditor remains in Portrait orientation although the RadPrintDocument.DefaultPageSettings.Landscape property is set to true. This issue can be replicated if you specify the PreferredWidth property in pixels in such a way that the table fits in A4 format (wider side). The A4 size print measures 21.0 x 29.7cm.


private void Form1_Load(object sender, EventArgs e)
{
    RadDocument document = new RadDocument();
    document.LayoutMode = Telerik.WinForms.Documents.Model.DocumentLayoutMode.Paged;
    Section sec = new Section();           
    sec.PageOrientation = PageOrientation.Landscape;
    sec.PageSize = PaperTypeConverter.ToSize(PaperTypes.A4);
    document.Sections.Add(sec);
    Paragraph para = new Paragraph();
    Table table = new Table();
    Border b = new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, System.Drawing.Color.Black);
    TableBorders tb = new TableBorders(b);
    table.Borders = tb;
    sec.Blocks.Add(table);
    //first row
    TableRow tableRow = new TableRow();
    table.AddRow(tableRow);
    //cell 0,0                   
    TableCell cell = new TableCell();
    cell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent ,20);
    tableRow.Cells.Add(cell);
    cell.Blocks.Add(para);
    Span span = new Span("Cell 0,0");
    para.Inlines.Add(span);
    //cell 0,1
    cell = new TableCell();
    cell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent ,80);
    tableRow.Cells.Add(cell);
    //second row
    tableRow = new TableRow();
    table.AddRow(tableRow);          
    //cell 1,0                     
    cell = new TableCell();
    cell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent ,20);
    tableRow.Cells.Add(cell);
    para = new Paragraph();
    cell.Blocks.Add(para);
    span = new Span("Cell 1,0");
    para.Inlines.Add(span);
    //cell 1,1
    cell = new TableCell();
    cell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent ,80);
    tableRow.Cells.Add(cell);
    radRichTextEditor1.Document = document;
    
    Telerik.WinControls.UI.RadPrintDocument printDocument = new Telerik.WinControls.UI.RadPrintDocument();
    printDocument.AssociatedObject = this.radRichTextEditor1;
    printDocument.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
    printDocument.DefaultPageSettings.Landscape = true;
    System.Drawing.Printing.PaperSize paperSize = new System.Drawing.Printing.PaperSize();
    paperSize.RawKind = 9;
    printDocument.DefaultPageSettings.PaperSize = paperSize;
    this.radRichTextEditor1.Print(true, printDocument);
}
Completed
Last Updated: 02 Sep 2016 09:54 by ADMIN
To reproduce:
- Create a document that contains a numbered list (set different font size for the list).
- Export it to html and import it back.
- You will notice that the numbers are larger the the other text.
Completed
Last Updated: 31 Mar 2015 06:51 by ADMIN
Description and workaround:
It appears that Outlook produces different RTF contents when using its different Copy commands. In some cases the RTF string produced by Outlook contains empty spans which is not a valid element in our implementation. To handle that case, you can subscribe to the CommandExecuting event to capture the Paste command before it was executed, strip the empty spans, and then modify the clipboard contents with a valid RTF string. 

Additionally, when you try to delete the text of pasted hyperlinks using backspace, an exception will be thrown at some point (for example, after pasting the link \\server\folder1\somefile.txt and deleting the dot).

The following code snippet demonstrates how to handle deleting pasted links:
        Private Sub radRichTextEditor1_CommandExecuting(sender As Object, e As CommandExecutingEventArgs) Handles radRichTextEditor1.CommandExecuting
             If TypeOf e.Command Is DeleteCommand 
                Me.RadRichTextEditor1.RichTextBoxElement.InvalidateMeasure(true)
                Me.RadRichTextEditor1.RichTextBoxElement.UpdateLayout()
            End If
        End Sub

The following code snippet demonstrates how to handle removing empty spans:

Private Sub radRichTextEditor1_CommandExecuting(sender As Object, e As CommandExecutingEventArgs) Handles radRichTextEditor1.CommandExecuting
    If Not (TypeOf e.Command Is PasteCommand) Then
        Return
    End If
  
    Dim docString As String = Nothing
    Dim docObj As Object = Clipboard.GetData("Rich Text Format")
  
    If docObj IsNot Nothing AndAlso docObj.[GetType]() = GetType(String) Then
        docString = DirectCast(docObj, String)
    End If
  
    Dim document As RadDocument = Nothing
    Using stream As New MemoryStream()
        Dim writer As New StreamWriter(stream)
        writer.Write(docString)
        writer.Flush()
        stream.Seek(0, SeekOrigin.Begin)
        Try
            document = New RtfFormatProvider().Import(stream)
        Catch ex As Exception
            System.Diagnostics.Debug.WriteLine("Error reading document from clipboard:" & vbLf + ex.ToString())
        End Try
    End Using
  
    If document IsNot Nothing Then
        Dim emptySpans As New List(Of Span)()
        For Each span As var In document.EnumerateChildrenOfType(Of Span)()
            If [String].IsNullOrEmpty(span.Text) Then
                emptySpans.Add(span)
            End If
        Next
  
        If emptySpans.Count = 0 Then
            Return
        End If
  
        For Each span As var In emptySpans
            span.Parent.Children.Remove(span)
        Next
  
        Dim modifiedRtf As String = New RtfFormatProvider().Export(document)
  
        Clipboard.SetData("Rich Text Format", modifiedRtf)
    End If
End Sub
Completed
Last Updated: 12 Feb 2015 17:19 by ADMIN
To reproduce:
- Create a new winforms project.
- Drop a RadRichTextEditor on the form.
- Drop a button on the form.
- In the button Click event add: radRichTextEditor1.ShowSpellCheckingDialog();
- Run the project.
- Click the button - a message is displayed "The spelling check is complete".
- Type some text with a spelling error in the rich text editor.
- Click the button again - a System.InvalidOperationException exception occurs.

Workaround:
radRichTextEditor1.RichTextBoxElement.SpellCheckingDialog = new SpellCheckingDialog();
Completed
Last Updated: 13 Dec 2021 12:00 by ADMIN
Release R1 2021
If the main document part of a DOCX document is with name different than "document.xml", for example "document2.xml", the content of the document is not imported. 

Such documents are created by OpenXML SDK, if for example this tutorial is followed:
How to: Convert a word processing document from the DOCM to the DOCX file format - http://tpdogfood.telerik.com/msdn.microsoft.com/en-us/library/office/gg188063(v=office.15).aspx.
Completed
Last Updated: 03 Jun 2016 08:50 by ADMIN
 html tables cannot be properly pasted in word when imported table size is defined in "pt".

consider adding the a table like this as well:
<html>
<body>
<table border="1">
	<tbody>
		<tr>
			<td>A</td>
			<td>B</td>
			<td>C</td>					
		</tr>	
		<tr>
			<td>A1</td>
			<td>B1</td>
			<td>C1</td>			
		</tr>	
	</tbody>
</table>
</body>
</html>
Completed
Last Updated: 27 Jan 2015 13:34 by ADMIN
Drop a RadRichTextEditor and a WinForms button on a form.
Set the text of the button to "&Activate" and show a message box in the button click handler.
Run the program, and type some text - the button is activated whenever you try to type the letter "a" in the editor.

Workarround: Inherit RadRichTextEditor and override IsInputChar method
protected override bool IsInputChar(char charCode)
{
    return true;
}

Completed
Last Updated: 13 Dec 2014 09:14 by ADMIN
Steps to reproduce:

1. Create a new project
2. Drop a RadRichTextEditor on the form
3. Run the project
4. Type some text
5. Press Ctrl+R to align the text right
6. Press Ctrl+L to align the text left. The text is left aligned, but the right aligned text is not cleared till the control is invalidated.