Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
When exporting a document in a Silverlight project using the XamlFormatProvider an exception is thrown.
Last Updated: 04 Feb 2022 17:26 by ADMIN
RTF documents that do not define the appropriate style types in the style definitions are not processable in RTB. While this is a deviation from the standard, MS Word manages to fix them and then open them.
Last Updated: 31 Oct 2018 08:14 by ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Bug Report
When the user opens a dialog in RadRichTextBox, after closing this dialog, the focus is lost.
Last Updated: 31 Oct 2018 08:14 by ADMIN
When a hyperlink is copy/pasted from MS Word to RadRichTextBox, only the display name is pasted and the hyperlink is lost.
Last Updated: 31 Oct 2018 08:14 by ADMIN
The textblocks in PageSetup dropdowns in PageLayout tab have black foreground, when Expression_Dark theme is applied. The foreground color should be white.
Last Updated: 31 Oct 2018 08:11 by ADMIN

The exception can be observed when printing document containing images with unsupported formats, or images with empty source (RawData = "").

The exception is with the following call stack:

   at Telerik.Windows.Documents.UI.HeaderFooterContainer.UpdateUI(SectionLayoutBox sectionBox, Boolean delayed)
   at Telerik.Windows.Documents.UI.HeaderFooterContainer.UpdateUI(SectionLayoutBox sectionBox)
   at Telerik.Windows.Documents.UI.DocumentPrintPresenter.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)


If you click on print preview and print the document from the preview it is working;
     2. Use the following code

        this.radRichTextBox .PrintStarted += Rtb_PrintStarted;

        private void Rtb_PrintStarted(object sender, EventArgs e)
            RadRichTextBox rtb = (RadRichTextBox)sender;
            foreach (var floatingImage in rtb.Document.EnumerateChildrenOfType<FloatingImageBlock>()
                                                      .Where(fi => !this.IsSupportedImageFormat(fi.ImageInline.Extension))

            foreach (var inlineImage in rtb.Document.EnumerateChildrenOfType<ImageInline>()
                                                    .Where(i => !this.IsSupportedImageFormat(i.Extension))

        private bool IsSupportedImageFormat(string format)
            return (format == "jpg") ||
                   (format == "jpeg") ||
                   (format == "png") ||
                   (format == "bmp");

Last Updated: 31 Oct 2018 08:11 by Sistema PRI
The calculation of the left and hanging indent is incorrect for paragraph in list when the left and hanging indents are with the same value.
Last Updated: 31 Oct 2018 08:07 by ADMIN
Italic bullet sign of bulleted paragraph (with last italic characters) is exported like an equal sign with a line through it.

Workaround: Make all italic bullets non-italic. The following code achieves that:

RadDocument document = this.radRichTextBox.Document;

foreach (var paragraph in document.EnumerateChildrenOfType<Paragraph>())
    if (paragraph.ListId != Paragraph.ListIdProperty.DefaultValue)
        DocumentList documentList = document.ListManager.GetDocumentListById(paragraph.ListId);
        int levelIndex = paragraph.ListLevel != Paragraph.ListLevelProperty.DefaultValue ? paragraph.ListLevel : 0;

        if (documentList.ActualStyle.Levels[levelIndex].NumberingFormat == ListNumberingFormat.Bullet)
            documentList.ActualStyle.Levels[levelIndex].SpanProperties.FontStyle = FontStyles.Normal;

Last Updated: 31 Oct 2018 08:06 by ADMIN
When entering header, the focus is moved to the footer. When entering footer, focus goes to the main document editor, comment editor (if comment is present), or footnotes/endnotes editor (if footnotes/endnotes are present). Sometimes the focus is moved to the Font combo box in the Ribbon UI.

When inserting symbols in the header, some of them are inserted in the footer.
Last Updated: 31 Oct 2018 07:54 by ADMIN

Workaround: When the error is reproducible with revisions, inherit the RevisionsToolTipLayer class and override ResetPooledElementProperties method
protected override void ResetPooledElementProperties(object element)
    if (element is Path)
        Path path = (Path)element;
        path.Data = null;
        path.Fill = null;
        ToolTipService.SetToolTip(path, null));

When the error is thrown when using hyperlinks, setting the format string for hyperlinks to an empty string prevents the error but will also disable the hyperlink tooltips:
this.radRichTextBox.HyperlinkToolTipFormatString = string.Empty;
Last Updated: 31 Oct 2018 07:54 by Chris
When color is applied to table cell border through the Table Borders -> Cell Borders, the thickness of the border is set to 0. This makes the border invisible.

Workaround: Change the border thickness manually in the dialog after the color is changed.

Steps to reproduce:
- Add table with one column
- Open from context menu Table Borders dialog
- Click on Cell Borders tab 
- Apply color -> blue
- Press OK

Expected: The table cell has blue borders applied.
Actual: ´╗┐The table cell has no borders.
Last Updated: 31 Oct 2018 07:53 by Sistema PRI
The borders of a row spanned (merged) cell are not correctly imported if the borders are applied before the merge.
Last Updated: 04 Jun 2018 08:09 by ADMIN
- When exporting Docx to Binary,  non-breaking spaces are being replaced by a normal space. 

Last Updated: 15 Mar 2018 15:06 by ADMIN
When importing an html file and the color of the text is marked as windowtext, the text is transparent.
Last Updated: 07 Jul 2017 13:25 by ADMIN
When the user control contains more than one RadRichTextBox instances, an "Element is already the child of another element" error is thrown design time.

Fix available in LIB Version 2017.2.710.
Last Updated: 06 Jul 2017 16:07 by ADMIN
When RichTextBox is added to the project, the following exception is thrown in the designer:

XamlParseException: Cannot find a Resource with the Name/Key thumbResizeMargin [Line: 26 Position: 49]. 

Fix available in LIB Version 2017.2.619.
Last Updated: 05 Apr 2017 14:38 by ADMIN
Steps to reproduce.
1. Open the ManageStylesDialog dialog.
2. Hover the Normal style item.
3. Scroll the dialog using mouse wheel. - An UnhandledException in Silverlight will be throw
Last Updated: 29 Dec 2016 14:23 by ADMIN
Last Updated: 03 Oct 2016 12:47 by ADMIN
A document created from RadRichTextBox containing a transparent image is successfully shown in Adobe. However, when saved from Adobe, leads to corrupt PDF and the image is missing.
Won't Fix
Last Updated: 20 Sep 2016 07:23 by ADMIN
ActiveDocumentEditorChanged is not always fired correctly.
1 2 3