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: 27 May 2021 13:08 by ADMIN
Release LIB 2021.2.531 (31/05/2021)
The RTF specifications states that the header of the document should start with "\rtfN" where N is the version of the RTF. Currently, the RtfFormatProvider do not save the version, but only "\rtf". Most software handles this case, but in some cases the document cannot be read.
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.
Unplanned
Last Updated: 27 May 2021 06:40 by ADMIN
Created by: Iva
Comments: 4
Category: RichTextBox
Type: Feature Request
14
Introduce Navigation Pane as an enhancement to the UI of RadRichTextBox, similar to the one in MS Word (View -> Show -> Navigation pane).
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: 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: 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.
Completed
Last Updated: 20 May 2021 14:13 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
Expose property allowing the customers to show the popup without transparency.
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: 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.

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: 19 May 2021 11:56 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
The issue is reproducible when the style of the paragraph with the revisions is changed for the second time.
Unplanned
Last Updated: 18 May 2021 13:24 by ADMIN
RadRichTextBox doesn't render a border that is not locally defined. In this case, the corresponding border from the applied table style should be used.
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(), "");
    }

 
Unplanned
Last Updated: 17 May 2021 13:01 by ADMIN
Created by: Petar
Comments: 0
Category: RichTextBox
Type: Bug Report
0

Currently, there is a DocumentHistory property IsEnabled indicating whether the history for the RadDocument is enabled. This property is not working and history cannot be disabled.

Workaround:

Use DocumentHistory Clear() method by attaching to editor's CommandExecuted event.

 

        private void Editor_CommandExecuted(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
        {
            editor.Document.History.Clear();
        }

 

Completed
Last Updated: 17 May 2021 08:33 by ADMIN
Release R2 2021
ADMIN
Created by: Petya
Comments: 11
Category: RichTextBox
Type: Feature Request
37
Add support for shapes, and especially for shapes with textual content. 
In OOXML, shapes are represented by the wps:wsp element, and shapes with textual content by <wps:txbx>, <w:txbxContent>.
Such shape can be added to a Word document using the Insert -> Text -> Text Box -> Draw Text Box, or through a shape's context menu -> Add Text.

Note: Do not confuse with Text/Rich Text content controls (https://feedback.telerik.com/Project/143/Feedback/Details/113730 ).
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: 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.
Completed
Last Updated: 22 Apr 2021 09:27 by ADMIN
Release LIB 2021.1.426 (26/04/2021)
Memory leak when in ContentControlsPositionManager when showing the field's results and codes
Unplanned
Last Updated: 19 Apr 2021 15:37 by ADMIN
When asynchronous text insertion is enabled a wrong text position is occasionally observed.

A possible workaround: Create a custom Caret (check CustomCaret SDK example) and set its EnableAsynchronousTextInsertion property to false.