Unplanned
Last Updated: 10 Aug 2022 07:24 by Caesar

Copying content controls using DocumentFragment and then inserting them causes several undesired behaviors.

For example, if the original content control is in "Placeholder mode" (meaning the initial pre-generated text is intact), after the copy operation, its content is treated as user inserted and it is not fully selected on entering the control. Another issue is with Plain Text/Date Picket/Repeating Section control - after the copy, their Properties dialog cannot be shown.

Unplanned
Last Updated: 05 Aug 2022 05:45 by ADMIN
Selecting the same date after Undo operation in Date content control does not select the date.
Unplanned
Last Updated: 08 Dec 2022 12:43 by Caesar

 The AddParagraphToSelection method adds the first row of a table when it is the element after the paragraph. 

To workaround this manually select the paragraph:

var para = caret.GetCurrentParagraph();
DocumentPosition pos = new DocumentPosition(doc);
pos.MoveToDocumentElementStart(para);
selection.AddSelectionStart(pos); 
pos.MoveToDocumentElementEnd(para); 
selection.AddSelectionEnd(pos);

 this.radRichTextBox.Delete(false);

Unplanned
Last Updated: 08 Dec 2022 09:10 by TC
InvalidCastException when importing documents having shapes and images that are grouped
Unplanned
Last Updated: 31 Oct 2022 12:54 by Caesar

DeleteAnnotationRange fails to execute when the content is uneditable annotation. For example: PermissionRange with a checkbox content control inside.

A possible workaround would be to manually delete the annotation range from the document element tree:

var rangeEnd = rangeStart.End;
var endParent = rangeEnd.Parent;
if (endParent != null)
{
    endParent.Children.Remove(rangeEnd);
}

var parent = rangeStart.Parent;
if (parent != null)
{
    parent.Children.Remove(rangeStart);
}

this.radRichTextBox.UpdateEditorLayout();

Unplanned
Last Updated: 12 Oct 2022 09:35 by Matthias
The exception is thrown while trying to load the image from the URI.
Unplanned
Last Updated: 13 Dec 2022 07:47 by ADMIN
When one inserts emoji with Ctrl + . and searches, additional characters are added to the RichTextBox.
Unplanned
Last Updated: 13 Dec 2022 12:22 by Stefan
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Bug Report
0

1 Open RadRichTextBox and press Windows + . to to show the emoji box. 

2 Choose the emoji and press backspace to remove it.

Actual behavior: When you press the backspace to remove the emoji, a square is left

Expected behavior: When you press the backspace the emoji should be deleted.

Unplanned
Last Updated: 05 Oct 2022 20:50 by Adam
Setting the margin of the DocumentPrintLayoutPresenter breaks the selection. 
Unplanned
Last Updated: 08 Sep 2022 09:58 by Caesar
When users select a value and perform undo on that selection, then the same value cannot be selected again. Another value should be selected.
Unplanned
Last Updated: 06 Sep 2022 10:43 by TC
The "forms" restriction mode is not respected in RadRichTextBox. In Word, you can allow the user to edit the content controls only and this is not respected in RadRichTextBox.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
FloatingUIContainers are not cleared from the UI when they are deleted.

Workaround: Recreate UI using the following code:
this.radRichTextBox.ActiveEditorPresenter.RecreateUI();
Unplanned
Last Updated: 29 Aug 2022 11:36 by Caesar
When users insert a Content Control to the document, save the document as XAML, and reload it, the content control cannot be edited.
Unplanned
Last Updated: 25 Aug 2022 08:44 by Caesar
Importing document with content controls inside a TableCell leaves only the content 
Unplanned
Last Updated: 23 Aug 2022 11:34 by William
When the image is at the right-most side of the page and has text appended just before it, adding caption results in splitting the content prior to the image. The last symbol of the content appears after the caption. The issue is reproduced sporadically.
Unplanned
Last Updated: 21 Dec 2022 13:07 by Caesar
Can't open the popup of a Content Control, if there is another Content Control right after it
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Inserting a single-cell table with top border is a common workaround for the missing 'horizontal line' functionality. 

Exporting such table to PDF causes wrong result if the intercepting vertical borders are of type None and have smaller thickness.

Attached image outlines the issue.

Workaround: Set the same thickness to the noBorder and to the visible border:
var t = new Telerik.Windows.Documents.Model.Table(1, 1);\
var noBorder = new Telerik.Windows.Documents.Model.Border(3, BorderStyle.None, Colors.Black);
t.Borders = new TableBorders(noBorder, new Telerik.Windows.Documents.Model.Border(3, BorderStyle.Single, Colors.Black), noBorder, noBorder);


Steps to reproduce:
1. Insert table with the following code:

            var t = new Telerik.Windows.Documents.Model.Table(1, 1);
            var noBorder = new Telerik.Windows.Documents.Model.Border(BorderStyle.None);
            t.Borders = new TableBorders(noBorder, new Telerik.Windows.Documents.Model.Border(3, BorderStyle.Single, Colors.Black), noBorder, noBorder);

            this.radRichTextBox.InsertTable(t);
2. Export to PDF
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Pressing Enter in the first empty cell in the second table of two adjoined tables adds the paragraph between the tables. Instead, the paragraph should be added in the cell.

Steps to reproduce:
- Add two tables.
- Remove the paragraph between them (using the Delete key).
- Add paragraph in the first cell of the second table.
Expected: The paragraph is added in the cell.
Actual: The tables are separated by paragraph.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
The flow direction of a paragraph is automatically changed to right-to-left if all spans in the paragraph are in the right-to-left mode when importing from DOCX format.
Unplanned
Last Updated: 24 May 2023 12:09 by ADMIN
If the margins of one side are equal to the default value, it will become 0 after import