Workaround is to enumerate the fields and update them separately. foreach (var field in this.radRichTextBox.Document.EnumerateChildrenOfType<FieldRangeStart>()) { this.radRichTextBox.UpdateField(field); }
The caret (cursor) is drawn over letters. This is unpleasant, especially with small font sizes. The issue is even more noticeable when the zoom factor is bigger than 100%. Available in LIB Version 2018.1.312.
While clicking to position the caret at the beginning of a paragraph, the caret is jumping to the previous document position and returning back to the desired one. Fix available in LIB Version 2017.2.627.
NullReferenceException is thrown when measuring a document with floating image as the first element on a second page. The same problem can be observed during copy/paste of content, but with slightly different call stack: System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.Windows.Documents.Layout.LayoutBox.get_ValidParent() at Telerik.Windows.Documents.DocumentPosition.GetCurrentParagraphBox() at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.GetCurrentParagraphBox() at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.AssociatedRichTextBox_LayoutUpdated(Object sender, EventArgs e) Depending on the document structure, an InvalidOperationException with message "Removed LayoutBox should not be split. Such operation will result in invalid document structure." could be also thrown. A sample call stack is: Telerik.Windows.Documents.Layout.LayoutBox.CreateNewFragment(Telerik.Windows.Documents.Layout.LayoutBox currentLineStartNode) Telerik.Windows.Documents.Layout.TableCellLayoutBox.MeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) Telerik.Windows.Documents.Layout.TableCellLayoutBox.Telerik.Windows.Documents.Model.IBlockContainerLayoutBox.CallMeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) Telerik.Windows.Documents.Layout.BlockContainerLayoutHelper.CheckAllFloatingBlocksAreIncluded(Telerik.Windows.Documents.Model.SizeF availableSize) Fix available in LIB Version 2018.1.312.
When document with large images (the original image cannot fit on the page without resizing) are exported to PDF, the PDF document is visualized distorted by Adobe Reader. The issue is regression, introduced in 2017 R1 SP1. Workarounds: - Use images that can fit on the page. - Zoom RadRichTextBox to scale which allows the large images to fit fully on the page. The fix is available in LIB Version 2017.2.627.
The hyperlinks are not exported properly to DOCX, RTF and HTML format if the HTTP:// prefix is not added in the address when they were created. Steps to reproduce: 1. Open RadRichTextBox and click on Insert tab -> Hyperlink 2. In address field type: www.telerik.com 3. Export the file to DOCX, RTF or HTML format 4. Open the exported file and click on the hyperlink Observed result: The hyperlink is pointing to a local resource instead of opening the URL. As a workaround, the regex used to match a partial hyperlink could be further extended. If this regex succeeds in matching a partial hyperlink the HTTP:// prefix will be automatically added to the partial hyperlink. Here is example of how the regex should be accessed: (this.radRichTextBox.InsertHyperlinkDialog as RadInsertHyperlinkDialog).HyperlinkPattern
The parent of an already removed span cannot be found and a NullReferenceException is thrown while performing Undo. Also, multiple asserts are failing in Debug mode. The stack trace is: UnhandledException: Object reference not set to an instance of an object. UnhandledException: at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent) at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent() at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent() at Telerik.Windows.Documents.Layout.LayoutBox.get_ValidParent() at Telerik.Windows.Documents.WordPositionHandler.GetParentHandler() at Telerik.Windows.Documents.DocumentPosition.GetCurrentSectionBox() at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.GetCurrentPage() at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
The following controls are not faded out when the RadRichTextBox has its IsReadOnly property set to true : - the labels inside Options and Position RadRibbonGroups in the Headers & Footers tab; -table styles gallery; alignment of table cell (743884); When in read-only range: - Bookmark;
1. Create a hyperlink before a section break.2. Remove this hyperlink by clicking on the context menu. The fix is available in our latest official release 2014 Q3 SP1.
UpdateAllFields method causes StackOverlfowException when: - there are two TOC fields in the document with specific location (no paragraphs between the two fields) - when merge fields containing new lines ('\r\n') are updated. UpdatField method causes StackOverlfowException in the IntervalTree class when: - A TOC field is updated and the field contains field separator (<w:fldChar w:fldCharType="separate"/>) in its definition. The exception is reproducible when there are section breaks before the TOC. Fix available in LIB Version 2017.2.627.
Decimal tab stops are aligning numbers to the thousands separator (,) instead of to the decimal point (.). The fix will be available in the next official release Q3 2014
The fix will be available in our official release Q1 2015.
The following parts are with hard coded strings and cannot be localized: - Insert Caption (InsertCaptionDialog): Combo boxes for label and separator - Paragraph Properties (ParagraphPropertiesDialog): Units of spacing and indentation values (pt) - Tab Stops Properties (TabStopsPropertiesDialog): The text of the tabStopsToBeClearedTextBloc - Cross references: reference types Figure and Table - TOC and TOF: Heading and Figure, Caption labels - Document Ruler: Tooltips - FormattingColorPicker: The "No Color" string Available in R1 2018 SP2 Release Version.
If a table style is applied to a table, and then document is exported/imported to RTF, properties of the style are applied as local properties. Subsequent edits of the style (or changing the style of the table) seems to not work, as the local properties are with higher priority.
When a symbol is inserted, the font family of RichTextBox is set to the symbol's font family. Workaround: Create a custom InsertSymbolDialog. The font family could be persisted in the Show() method of the new dialog and reset when the dialog is closing. Attached is a sample project demonstrating the workaround.
The fix is available in our LIB release (v. 2015.3.1123).
"http://" prefix is automatically added by the Insert Hyperlink Dialog when the provided URI is to local path or mapped drive, e.g. "Z:\temp". Workaround 1: Set HyperlinkPattern to something that matches file paths, e.g.: (this.radRichTextBox.InsertHyperlinkDialog as RadInsertHyperlinkDialog).HyperlinkPattern = ".*"; Workaround 2: Insert such paths with the "file://" prefix.