Completed
Last Updated: 21 Jan 2021 09:29 by ADMIN

Depending on the current layout of the document, invoking SetPosition() for a specific location might result in positioning the caret on the line prior to the expected one.

Steps to reproduce:

  • Create a document using the following code:

radRichTextBox.Insert("one: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("two: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("tree: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("four: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("five: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("seks: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("seven: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("eitgh: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("nine: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("ten: ");

  • Place the caret at the end of the "nine: " line
  • Invoke SetPosition():

radRichTextBox.Document.CaretPosition.SetPosition(radRichTextBox.Document.CaretPosition.Location);
radRichTextBox.Focus();

Observed: The caret is positioned after "eitgh:"

Expected: The caret shouldn't change its position

Completed
Last Updated: 17 Feb 2021 09:48 by ADMIN
Release LIB 2021.1.215 (15/2/2021)

In certain rare occasions, double-clicking a table cell may throw:

inline does not belong to this document.
at Telerik.Windows.Documents.Model.RadDocument.GetContainingAnnotationRanges[TRangeStart](Inline inline, Predicate`1 filter, Boolean inclusive)
at Telerik.Windows.Documents.Selection.MouseSelectionHandler.HandleCheckBox(InlineLayoutBox layoutBox)
at Telerik.Windows.Documents.Selection.MouseSelectionHandler.RegisterDocumentSingleMouseDown(Boolean ctrlPressed, Boolean shiftPressed, Point position, UIElement originalSource)

. . .

Completed
Last Updated: 19 May 2021 13:37 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
PdfExport: InvalidOperationException: 'Nullable object must have a value.'
Unplanned
Last Updated: 18 May 2021 08:29 by ADMIN
  • Each RichText element should contain a unique id. The id contains DateTime.UtcNow.Ticks. This format is requiring to know which RT elements were added from the last change.
  • Export these ids into html as is and import.
  • For compatibility, id should have a different attribute name, for example:
    <p data-telerik-id="Paragraph637567542110611335">
    	<span data-telerik-id="Span637567542110611345">
    		Test
    	</span>
    </p>
    Note: data-* is Global attribute name: https://www.w3schools.com/tags/att_data-.asp

    Id value example:
    public class HiResDateTime
    {
    	private static long lastTimeStamp = DateTime.UtcNow.Ticks;
    	private static readonly Regex digitsOnly = new Regex(@"[^\d]");
    	public static long UtcNowTicks
    	{
    		get
    		{
    			long original, newValue;
    			do
    			{
    				original = lastTimeStamp;
    				long now = DateTime.UtcNow.Ticks;
    				newValue = Math.Max(now, original + 1);
    			} while (Interlocked.CompareExchange
    						 (ref lastTimeStamp, newValue, original) != original);
    
    			return newValue;
    		}
    	}
    
    	public static string UtcNowTicksString => digitsOnly.Replace(UtcNowTicks.ToString(), "");
    }

 
Completed
Last Updated: 25 Apr 2023 11:01 by ADMIN
Release LIB 2023.1.509 (09 May 2023)
Selecting the content inside annotation range and deleting it removes the annotation range start from the document.
Unplanned
Last Updated: 22 Mar 2022 08:00 by Oliver
Italic font style and bold font weight are not rendered correctly with a specific font. Currently, this is reproducible with the "zurich-ltcn-bt-light" font.
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
Extension method GetValueOrNull is exists in two assemblies. 
Completed
Last Updated: 13 Mar 2024 09:45 by ADMIN
Release 2024.1.130 (2024 Q1)
With multiple lines of text in the same paragraph, clicking on the last possible position on any line (except the last one), the caret moves to the first position on the next line.
Duplicated
Last Updated: 30 Nov 2022 14:08 by ADMIN
Memory leak in RadRichTextBox when executing on a new thread
Unplanned
Last Updated: 24 Aug 2023 06:36 by ADMIN

The non-breaking space breaks the word if a number character is presented in the word. For example, the following text should be treated as one word - 10,0 % but it is separated into to words - 10,0 and %.

The issue can be observed when the word should break on the next line. 

Completed
Last Updated: 07 Sep 2023 12:11 by ADMIN
When the Windows 11 theme is applied, opening the drop-down menu of either the ShapesColorPicker or ShapesOutlinePicker results in an InvalidOperationException.
Completed
Last Updated: 03 Oct 2023 08:20 by ADMIN
Release R3 2023
RadRichTextBox: Creating a new document fragment from imported document adds empty paragraph at the end.
Completed
Last Updated: 11 Mar 2024 07:38 by ADMIN
Release 2024.1.228 (Preview)
Null reference exception when adding shapes and using the AddShapeTextBoxCommand.
Unplanned
Last Updated: 23 Oct 2024 04:50 by Martin

The center text alignment is lost when the last paragraph is copied and pasted. 

Steps to reproduce:

- Enter some text and center it.

- Copy and paste it into another document.

Actual: the aligmennt is lost

Expected: the alignment should be preserved

 

 

Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Add possibility to export files in MHTML format.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Add possibility to import files from MHTML format.
Completed
Last Updated: 11 Aug 2016 14:04 by Iva
The desired width of the tables is not set to 100 percent. Instead, the width of each column is set to the fixed value in dxa.
Declined
Last Updated: 07 Apr 2014 10:18 by ADMIN
Created by: Mi
Comments: 5
Category: RichTextBox
Type: Feature Request
1
In Word I can place text where ever I want, when I use textfields. This should also be possible with RadRichTextBox.

When exporting to PDF this should result in an extra layer for the textfield.
Completed
Last Updated: 12 Jan 2016 15:04 by ADMIN
In specific conditions, when selecting text through the document, NullReferenceException is thrown in RectPathBuilder class.