Completed
Last Updated: 10 Jun 2021 11:18 by ADMIN
Release R2 2021 SP1
RichTextBox: Exceptions when importing multiple docx files simultaneously 
Completed
Last Updated: 08 Jun 2021 10:19 by ADMIN
Release LIB 2021.2.608 (08 Jun 2021)
RadDocument instances are left in memory after editing and changing a document.
Unplanned
Last Updated: 01 Jun 2021 09:37 by ADMIN

The default styles are not copied when using the CreateDocumentFromSelection method.

Workaround: Manually copy the styles:

var document = radRichTextBox.Document.Selection.CreateDocumentFromSelection();
document.StyleRepository.Clear();
foreach (var item in radRichTextBox.Document.StyleRepository)
{
    var style = new StyleDefinition(item);
    document.StyleRepository.Add(style);
}

Completed
Last Updated: 15 Sep 2021 12:59 by ADMIN
Release R3 2021
Created by: Martin
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Add support for text containers in Shapes. Including, text formatting, editing, and placement options.
Completed
Last Updated: 15 May 2023 09:28 by ADMIN
Release R3 2021
When exporting shapes with a style that doesn't define dash pattern an ArgumentException is thrown.
Completed
Last Updated: 10 Jun 2021 10:57 by ADMIN
Release R2 2021 SP1
The PasteSource.SameRadDocument is not respected when pasting from the same document
Unplanned
Last Updated: 17 Jun 2022 08:11 by ADMIN
Replacing a piece of text through find/replace dialog causes intersecting insert/delete ranges. 
Completed
Last Updated: 09 Jun 2021 09:54 by ADMIN
Release R2 2021 SP1

Try the following scenario:

  • In MS Word, create a table with text in every cell
  • In the RadRichTextBox, create a new document
  • Activate Review/Track Changes
  • Add some empty paragraphs or some text: change tracking markup will be displayed
  • Just after the inserted text, copy and paste the table from MS Word: none of the cells has change tracking markup
  • If you type inside the table, the new text has markup, but the text that was pasted with the table has no markup.
  • If you use the right arrow on the keyboard to exit the change tracking tag, then if you paste the table, it seems to work correctly.
Unplanned
Last Updated: 27 May 2021 09:15 by ADMIN
When you access apps using the RichTextBox control through a Web Client the keyboard input is not consistent. This is caused by WPF TextBox (which is used internally by our Caret) not always receiving PreviewKeyDown events.

Such a case is when the user holds the Shift key and types capital letters. The result is not displayed until the user pushes a key for which the PreviewKeyDown event is triggered.
Duplicated
Last Updated: 26 May 2021 10:45 by ADMIN

Hi,

This issue was referenced all the way back in 2017 in this post for Win Forms, but it appears it was never actually resolved; only a workaround was provided. I don't think this workaround will work for me, however, because I am binding to the RtfDataProvider in xaml and therefore it makes the changes to the document string before I am able to do a manual replacement of "rtf1" where it only had "rtf" for the version tag before. While changing the tag after the fact will fix the issue of it not being recognized in the other software we use, it still causes bloat because of the fact that it most cases it over triples the amount of raw text in the returned string when the textbox does not properly apply the rtf version tag.

Below is an example of the greatly enlarged amount of data before and after this error occurs:

"S11111^A^1^","{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial; } }\viewkind4\uc1 \f0\fs20 Measurements: \par \tab Neck to Fundus \tab \tab 1.5 cm \par \tab Diameter at Fundus \tab \tab 3.0 cm \par \tab Color \tab \tab \tab \tab Green-Tan \par \tab Wall Thickness \tab \tab 1.0 cm \par \tab Mucosa \tab \tab \tab Velvety \par  \par No Cholesterolosis Is Identified  \par \par No Bile Identified \par \par No Gallstones Are Identified \par \par Summary of Sections: \par \tab Received in Bag and Formalin. The cystic duct margin and representative sections of gallbladder fundus and body are submitted in 1 cassette. \par \par KG/sjh }"^""$$$"

"S11111^A^1^","{\rtf\ansi\ansicpg1252\uc1\deff0\deflang1033{\fonttbl{\f0 Verdana;}{\f1 Arial;}}{\colortbl\red0\green0\blue0 ;}{\*\defchp\ltrch\f0\fs20\i0\b0\strike0\cf0\ulc0\ulnone}{\*\defpap\sl276\slmult1\ql\sa180\ltrpar}{\stylesheet{\s0\sqformat\spriority0\ltrch\f0\fs20\i0\b0\strike0\cf0\ulc0\ulnone\sl276\slmult1\ql\sa180\ltrpar Normal;}{\*\ts2\tsrowd\spriority59\trbrdrt\brdrnone\trbrdrb\brdrnone\trbrdrl\brdrnone\trbrdrr\brdrnone\trbrdrh\brdrnone\trbrdrv\brdrnone\trgaph0\trpaddl75\trpaddr75\trpaddt0\trpaddb0\clpadft3\clpadt0\clpadfr3\clpadr0\clpadfl3\clpadl0\clpadfb3\clpadb0\tsvertalt\ltrch\f0\fs20\i0\b0\strike0\cf0\ulc0\ulnone\sl276\slmult1\ql\sa180\ltrpar Table Normal;}}\nouicompat\viewkind4\paperw12240\paperh15840\margl1425\margr1425\margt1425\margb1425\deftab720\sectd\pgwsxn12240\pghsxn15840\marglsxn1425\margrsxn1425\margtsxn1425\margbsxn1425\headery720\footery720\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone Measurements: }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Neck to Fundus \tab \tab 1.6 cm }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Diameter at Fundus \tab \tab 3.0 cm }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Color \tab \tab \tab \tab Green-Tan }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Wall Thickness \tab \tab 1.0 cm }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Mucosa \tab \tab \tab Velvety }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone  }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone No Cholesterolosis Is Identified  }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone No Bile Identified }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone No Gallstones Are Identified }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone Summary of Sections: }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone \tab Received in Bag and Formalin. The cystic duct margin and representative sections of gallbladder fundus and body are submitted in 1 cassette. }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl240\slmult1\ql\ltrpar{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone KG/sjh }{\ltrch\f1\fs20\i0\b0\strike0\cf0\ulc0\ulnone\par}}"^""$$$"

 

If there is a way that I can use the workaround in that post to prevent this bloating of the data while still using my current setup with bindings, I would be happy to do so, but as it is I don't think that's the case. It seems like this is clearly a bug and something that should have a real fix on the control and not a workaround after all this time, but if that's not the case and it was left as is for a reason, I'd be happy to hear that reason.

Thanks in advance for the help.

Completed
Last Updated: 01 Jul 2021 07:24 by ADMIN
Release LIB 2021.2.531 (31/05/2021)
Run-time modifications on RadDocument may cause application freeze. It seems that the issue is caused by a deadlock in caret time logic.
Completed
Last Updated: 19 May 2021 14:49 by ADMIN
Release LIB 2021.2.525 (25/05/2021)

In the Track Change mode, try to insert several images using standard InsertPictureCommand (or even Editor.InsertImage()) double enter and then again. Or insert text between already inserted images.

The error could be also observed when accepting all changes.

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: 20 May 2021 10:27 by ADMIN
Release LIB 2021.2.525 (25/05/2021)

The pasted content is not formatted properly, resulting in an InvalidOperationException("'Token EndElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment. ') when saving the content to DOCX.

Steps to reproduce:

  • Create a document
  • Activate Review/Change Tracking
  • Create a table in a separate MS Word file and add some text at least in the first cell
  • Copy from MS Word and paste it as the first element in the document
  • Save the document as an MS Word document

Workaround: intercept the table paste and add an empty paragraph as the first element of the document before the table.

Another case:

  • Create a new document
  • Be sure that Change Tracking is deactivated
  • Create a table in a separate MS Word file and add some text at least in the first cell
  • Copy from MS Word and paste it as the first element in the document
  • Activate Review/Change Tracking
  • Just after the first table, paste the table again: the second table seems to be merged with the first table, with no paragraph in between, but with the vertical line in the margin showing that the second table has change tracking
  • Save the document as a MS Word document
Completed
Last Updated: 28 May 2021 12:55 by ADMIN
Release LIB 2021.2.525 (25/05/2021)

Steps to reproduce: 

  • In MS Word, create a table with text in every cell
  • In the RadRichTextBox, create a new document
  • Activate Review/Track Changes
  • Copy and paste the table from MS Word: only the first cell has change tracking markup
  • Insert a paragraph after the first table and paste the table again: now, none of the cells has change tracking markup
Completed
Last Updated: 21 May 2021 06:41 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
The images of the buttons for changing the layout are missing from RadRichTextBoxStatusBar in the .NET Core version of RadRichTextBox.
Unplanned
Last Updated: 17 May 2021 08:23 by ADMIN
Inner row and cell borders are not respected when importing table with specific borders
Completed
Last Updated: 25 May 2021 05:19 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
The error message: Error XDG0041 The property "RulerThumbType" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "RulerThumbType". For attached properties, the declaring type must provide static "GetRulerThumbType"  and "SetRulerThumbType" methods.
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.'
Completed
Last Updated: 29 Apr 2021 12:44 by ADMIN
Release R2 2021
It seems to be related to a race condition when two or more threads access this method.