Last Updated: 13 Feb 2019 12:20 by ADMIN
Created by: Stephan Kühn
Comments: 0
Category: RichTextBox
Type: Bug Report
Currently table's Rows collection only accepts adding of rows that have cells.
Last Updated: 07 Feb 2019 09:07 by ADMIN
When you first insert a table, and try to grab the right border and resize it, the result is that the inner cells resize, while the total width of the table remains the same. If you move the inner borders a bit and then try again to resize the whole table, it will work.
Last Updated: 01 Feb 2019 07:59 by ADMIN
When the first table row of each table (main as well as nested) has RepeatOnEveryPage set, the table header of the nested table overlaps the row on the new page.
Last Updated: 30 Jan 2019 17:11 by ADMIN
There is a NullReferenceException thrown while trying to compare positions for restoring them after pasting the document. The exception is handled but after it is thrown, the layout stops updating.

Workaround: Ensure the document is not empty before pasting content inside:
private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
    if (e.Command is PasteCommand && this.radRichTextBox.Document.IsEmpty)
        this.radRichTextBox.Insert(" ");

Last Updated: 21 Jan 2019 07:55 by ADMIN

The issue is related to specific steps and is a regression released in R3 2018.

Steps to reproduce:
1. Run RadRichTextBox and insert "test" at the beginning of the document.
2. Move the caret after the 'e'
3. Press Shift+Enter to insert a line break

Observed: NullReferenceException is thrown and the UI becomes unresponsive.
Expected: The break should be successfully inserted in the content
Last Updated: 17 Jan 2019 16:41 by ADMIN
When a DOCX document contains a table with fixed layout, and the table contains <tblGrid> element with improper widths (not coinciding with the ones visualized by MS Word), and such document is imported, the table is laid out with the width of the sum of the column widths imported from the table grid (tblGrid), instead of ones that could be correctly computed by the preferred width of the table cells. 

MS Word, for example, may ignore the widths specified in the tblGrid and compute new ones.

As a side effect, fixed-width tables can be laid out longer than their preferred width.
Last Updated: 17 Jan 2019 09:33 by ADMIN
When the MoveToDocumentElementStart is called with parameter that is PermissionRangeStart and then is called a second time, the position moves to the previous position instead.
Last Updated: 15 Jan 2019 13:42 by ADMIN

When the user copy-pastes an image from Outlook, it is pasted as an IncludePictureField and visualized as expected. The field code looks like


However, when the fields in the document are updated, the image is no longer shown because of its invalid Uri. In MS Word, when you paste the image, it is directly inserted as image and the field is skipped.

Workaround - remove the field start/ends (in the attachments)

Last Updated: 15 Jan 2019 07:31 by ADMIN
After merging a document into another one (or pasting it), some of the content is duplicated. The issue is a regression in R3 2018.
Last Updated: 11 Jan 2019 09:53 by ADMIN
Page field in header (or footer) of document created with mail merge is always evaluated to 1, instead of the number of the current page.

Possible workaround (attached):

- Do mail merges one by one
- Set header/footers anew to contain PAGE fields in each document
- Set FirstPageNumber = 1 to each first section in each document
- Merge with RadDocumentMerger
Last Updated: 03 Jan 2019 14:57 by Michael
The content of the table cells seems to be rendered in the correct position while the borders are drawn above the continues section break.
Last Updated: 12 Dec 2018 13:28 by ADMIN
When the document is protected, RadRichTextBox.CommandExecuting is not raised when the user double clicks the header or footer area.
Last Updated: 12 Dec 2018 09:44 by ADMIN
The text-decoration-line CSS property is not imported because of wrong name definition in the parsing logic of HtmlFormatProvider.

Last Updated: 06 Dec 2018 09:27 by ADMIN

During layout of specific documents where the first section is with Continuous section break type, the layout algorithm enters in an infinite loop causing the application to hang.

Workaround: Change the section break type for the first section after the import of the document and before the layout:
document.Sections.First.PreviousSectionBreakType = SectionBreakType.NextPage;

Last Updated: 16 Nov 2018 13:52 by ADMIN
When custom annotations are created by inheriting AnnotationRangeStart and AnnotationRangeEnd classes, and the reaction to the delete commands is customized by overriding the DeleteBehavior, BackspaceBehavior, and DeleteSelectedBehavior, the delete command doesn't work as expected in some cases.
  • CustomAnnotationRangeEnd.BackspaceBehavior returns AnnotationMarkerDeleteBehavior.SelectAnnotation: the expected behavior is the whole annotation range to be selected when the caret is just after the annotation range end and Backspace is pressed.
    • Expected: When the caret is just after the annotation range end and Backspace is pressed, the whole annotation range to be selected.
    • Actual: Nothing happens, text is not deleted.

  • CustomAnnotationRangeStart.DeleteBehavior returns AnnotationMarkerDeleteBehavior.SelectAnnotation
    • Expected: When the caret is just before the annotation range start and Delete is pressed, the whole annotation range to be selected.
    • Actual: The symbol after the annotation start is deleted.

  • CustomAnnotationRangeStart.DeleteBehavior returns AnnotationMarkerDeleteBehavior.RemoveAnnotation
    • Expected: When caret position is just before the annotation and Delete is pressed, the annotation start and end are removed.
    • Actual: The symbol after the annotation start is deleted.
Last Updated: 12 Nov 2018 12:38 by ADMIN
The issue is a regression introduced with another fix, released in R2 2018.
Last Updated: 12 Nov 2018 09:35 by ADMIN
When a new document is created and GetStatisticsInfo is called on it, a NullReferenceException is thrown.
Last Updated: 07 Nov 2018 14:35 by ADMIN
When a document containing fields and with a custom theme is exported to .docx and opened in MS Word, the theme is different.

Available in R3 2018 Official Release.
Last Updated: 07 Nov 2018 08:12 by ADMIN
When exporting with RtfFormatProvider (including when the users copy content), an additional \par tag is added at the end of the document.

Workaround: Process the RTF after it is generated. 

Here is an example how to achieve it when copying:

this.radRichTextBox.CommandExecuted += radRichTextBox_CommandExecuted;
void radRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
    if (e.Command is CopyCommand)
        DocumentPosition end = this.radRichTextBox.Document.Selection.Ranges.Last.EndPosition;
        RadDocument clipboardDocument = ClipboardEx.GetDocument().ToDocument();
        RtfFormatProvider provider = new RtfFormatProvider();
        string rtfString = provider.Export(clipboardDocument);
        int indexLastParOpening = rtfString.LastIndexOf("{");
        int indexLastParClosing = rtfString.IndexOf('}', indexLastParOpening);
        string newRtf = rtfString.Remove(indexLastParOpening, indexLastParClosing - indexLastParOpening + 1);
        Clipboard.SetData("Rich Text Format", newRtf);
Last Updated: 06 Nov 2018 12:38 by ADMIN
The header of the first page can have only settings applied without any content. In such scenarios, RtfFormatProvider doesn't import the whole header, which can lead to a different layout of the document.