Unplanned
Last Updated: 10 Feb 2020 13:59 by ADMIN

Use the attached project to reproduce:

- Click the first button so the image is changed

- Click the second button and examine the exported HTML

Expected: the Uri is exported

Actual: the Uri is not exported.

Workaround: 

p.Inlines.AddAfter(image, image2);
p.Inlines.Remove(image);

Unplanned
Last Updated: 03 Feb 2020 11:15 by ADMIN

To reproduce:

- Select several words by holding the control key. 

- Paste some text. 

Result: the first word is replaced, the other are deleted

Expected: the text should be pasted in all selected places

Workaround:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        var ranges = radRichTextBox.Document.Selection.Ranges.ToList();
        if (ranges.Count > 1)
        {
            e.Cancel = true;

            foreach (var range in ranges)
            {
                radRichTextBox.Document.Selection.Clear();
                radRichTextBox.Document.Selection.AddSelectionStart(range.StartPosition);
                radRichTextBox.Document.Selection.AddSelectionEnd(range.EndPosition);
                PasteNewText();
            }      
        }
    }
}
public void PasteNewText()
{
    DocumentFragment clipboardDocument = null;
    string clipboardText = null;
    bool clipboardContainsData = false;

    if (ClipboardEx.ContainsText(null))
    {
        clipboardText = ClipboardEx.GetText(null);
        clipboardContainsData = true;
    }

    if (!clipboardContainsData)
    {
        return;
    }

    if (clipboardDocument != null)
    {
        this.radRichTextBox.ActiveDocumentEditor.InsertFragment(clipboardDocument);
    }
    else if (!string.IsNullOrEmpty(clipboardText))
    {
        this.radRichTextBox.ActiveDocumentEditor.Insert(clipboardText);
    }
}

Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
The CSS styling for the "p" selector is not imported as a "NormalWeb" style. For example the following:

<style type="text/css">p {margin-top:0; margin-bottom:0;}</style>

should be imported as SpacingBefore and SpacingAfter set to 0 in Normal (Web) style.
Unplanned
Last Updated: 09 Jan 2020 14:49 by ADMIN
When a hyperlink uri contains a symbol that needs to be escaped (e.g. ')'), the exported document is corrupted.
Unplanned
Last Updated: 06 Jan 2020 12:22 by ADMIN
Use Destination styles does not appear in the paste options popup control. It only appears in the RadRibbonDropDownButton.
Unplanned
Last Updated: 20 May 2024 09:35 by Sergei

The image adorner in is not shown in NetCore/6/7/8 when ApplicationTheme is not set (XAML only).

Workaround:

Explicitly set the theme:

 StyleManager.ApplicationTheme = new Office2016Theme();

Unplanned
Last Updated: 07 Jun 2024 06:09 by Daniel
The table layout is slow with documents that contain large tables. This causes slow import and later slow performance with such documents.
Unplanned
Last Updated: 07 Mar 2017 09:41 by ADMIN
ADMIN
Created by: Mihail
Comments: 0
Category: RichTextBox
Type: Bug Report
1
TabStopsProperties dialog is non-modal dialog, but it should be modal.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Exporting document containing Hebrew text to PDF results in correct text (letter-by-letter), but with wrong text flow: letters in the words are inverted and flow left-to-right instead of right-to-left.
Unplanned
Last Updated: 31 Oct 2018 07:54 by Rasmus
In Word, slashes, dots, etc. are treated as separate words when moving the caret with Ctrl + Key.Right and Ctrl + Key.Left.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
There is no document position at the end of a line when a single span is flowing to the next line. Therefore, in similar scenarios, the user cannot move the caret at the last position of the line.
Unplanned
Last Updated: 25 Jan 2017 13:01 by ADMIN
Create document with some text.
Insert image.
Right click on image and add hyperlink to it.
Drag the image somewhere in the text.
Observe that it is created a copy of the image. 

Actually, the issue occurs when the hyperlink is inserted.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
When there isn't space for the first non-repeated row to be drawn on the page, the repeated rows should not be repeated on each page where the table spans - they should be drawn only on the first page (the page where the table begins). 
 
However, currently the requirement described above is not satisfied and the first repeated row is drawn on every page, where the table spans, which is not correct according to the Office Open XML specification. 
Unplanned
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);
    }
}
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
The PreferredWidth property has a strange behavior when set to all columns of a table and one of the rows is with ColumnSpan greater than 1. The width is properly set, but seems to be not respected while measuring the table and its children.


Second Scenario using RichTextBox UI: Create a document containing a table with horizontally merged cells and custom set columns` width and export it to HTML. When importing this HTML document back to the RichTextBox the column width value was not preserved.
Unplanned
Last Updated: 18 Mar 2019 14:39 by ADMIN
Applying negative LeftIndent or FirstLineIndent of a paragraph in web layout mode will visualize the paragraph to the left of RadRichTextBox boundaries.
Unplanned
Last Updated: 10 Feb 2017 11:57 by ADMIN
Steps to reproduce:
Create a new blank document.
Write some text.
Use "Enter" key to create some empty lines, until new page is created. 
Print to a real printer or to pdf file using tools like PDFCreator or Bullzip.

Actual result: Nothing is printed.
Expected result: Two pages should be printed.

Workaround: Add an empty character in the footer.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When the document contains headings with heading styles associated with numbering styles (numbered headings), and TOC field is inserted and/or updated in the document, the TOC items should contain the numbering which comes from the style. Instead, on update the numbering is lost and only heading text is included in the field result.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When the users move the image (evaluated as a result of the field) using the document selection, the field is removed from the document and the image is duplicated.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When classes inheriting RadDocument are exported using XamlFormatProvider, XmlException with message "The prefix 't' cannot be redefined from 'clr-namespace:Telerik.Windows.Documents.Model;assembly=WpfApplication1' to 'clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents' within the same start element tag." is thrown

Similar scenario works with inheriting other elements.

Steps to reproduce:
1. Create an object which inherits the RadDocument
2. Pass the created object as a parameter for the XamlFormatProvider.Export() method
Observe: An XmlException is thrown
Expected: The object to be exported