Declined
Last Updated: 28 Aug 2019 11:05 by ADMIN
Created by: Yaroslav
Comments: 1
Category: RichTextBox
Type: Bug Report
1

Hi Guys,

Our application works with a document storage and we use RadRichTextBox to allow users edit and view the documents. Unfortunately, many documents cannot be opened due to the following exception we get:

Unable to cast object of type 'Telerik.Windows.Documents.Model.FieldRangeStart' to type 'Telerik.Windows.Documents.Model.AnnotationRangeEnd

As result we receive complains from our users. Could you please facilitate with solving it? 

I have attached a simple test application with the problematic document as well the stacktrace. 

Best regards,

Yaroslav 

Unplanned
Last Updated: 27 Aug 2019 13:15 by ADMIN
Created by: Rick
Comments: 1
Category: RichTextBox
Type: Feature Request
2

In MS Word there are several options available in the Advanced Find dialog that are not available in the RichTextBox, the two most requested by our users are "Match case" and "Find whole words only".

Completed
Last Updated: 11 Sep 2019 06:23 by ADMIN
Release LIB 2019.2.819
The exception is thrown due to an empty byte[] which is applied to the image source.
Completed
Last Updated: 14 Aug 2019 10:40 by ADMIN
Release LIB 2019.2.819 (08/19/2019)
EnableAsynchronousTextInsertion is not respected in a custom caret and any text input is now process asynchronously. 
Completed
Last Updated: 10 Sep 2019 14:10 by ADMIN
Release R3 2019
Created by: Abhishek
Comments: 0
Category: RichTextBox
Type: Bug Report
0
When opening a document which contains date fields, RadRichTextBox doesn't update their values.
Workaround: Invoke UpdateAllFields() or UpdateField().
Completed
Last Updated: 10 Jul 2019 08:41 by ADMIN
Release LIB 2019.2.715 (07/15/2019)
The exception is thrown while typing and is with message "Value cannot be null. Parameter name: insertIMETextCommandContext". 
Unplanned
Last Updated: 18 Jun 2019 08:24 by ADMIN
Currently the editing methods of RadRichTextBox and RadDocumentEditor work with the current DocumentSelection and CaretPosition for the current RadDocument. In order to execute an editing action on specific range/position, current selection/position should be moved, which is not always desirable. Also, as a side effect, when moving current selection or position, the scroll offset of the document shown in RadRichTextBox is changed.
 
Think of the following approaches:
- Do not scroll the document around when API methods are executed. There is convenient API which could be called to scroll the document when needed. (This will fix the problem only partially). 
- Provide version of the IDocumentEditor methods that accept DocumentSelection or DocumentPosition as parameters, and work with them instead of with the RadDocument.Selection and RadDocument.CaretPosition, similar to InsertFragment(DocumentFragment documentFragmentDocumentPosition documentPosition) and InsertInline(Inline inlineDocumentPosition documentPosition).
Unplanned
Last Updated: 17 Jun 2019 07:47 by ADMIN
When there is a text in a table row with dash and not space after makes the text squeezed when exported to PDF. For instance "Self-Insured". If the text is "Self - Insured" it is exported fine.
Completed
Last Updated: 02 Aug 2019 15:01 by ADMIN
Release LIB 2019.2.805 (08/05/2019)
If the document contains a style that is based on a style with a duplicate name, RadDocument detects it as a cycle in style inheritance. 
Won't Fix
Last Updated: 10 Jul 2019 15:52 by ADMIN
Exporting documents that contain PNG images SMask and ImagesDeflaterCompressionLevel is set to a non-default value may produce a document in which those images are not processed correctly by Adobe reader.
Completed
Last Updated: 20 Jan 2020 14:47 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
The exception is thrown in RadDocument.IsInNonEditableRange() method, which is called before measuring the document. When using a format provider, the error is thrown but the document can still be opened in RichTextBox. In binding scenario, the document is not imported.

Workaround: Ensure the document is measured before assigning it to RadRichTextBox.
Completed
Last Updated: 25 Jul 2019 13:36 by ADMIN
Release LIB 2019.2.729 (07/29/2019)
When a gif or tif image is copied and then pasted into the document does not result in the original image. "Image not found" icon appears instead.
Declined
Last Updated: 28 Jun 2019 14:11 by ADMIN

Hi Telerik,

We are converting XAML content into PDF file with below code.

private byte[] Xaml2Pdf(string xamlContent)
{
	try
	{
		XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();
		PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
		PdfExportSettings exportSettings = new PdfExportSettings();
		exportSettings.ContentsCompressionMode = PdfContentsCompressionMode.Automatic;
		exportSettings.ContentsDeflaterCompressionLevel = 9;
		exportSettings.DocumentInfo = new PdfDocumentInfo() { Producer = "ALIS", Author = "ALIS", Creator = "ALIS" };
		exportSettings.ImagesCompressionMode = PdfImagesCompressionMode.Automatic;
		exportSettings.ImagesDeflaterCompressionLevel = 9;
		pdfFormatProvider.ExportSettings = exportSettings;

		byte[] content = pdfFormatProvider.Export(xamlFormatProvider.Import(xamlContent));

		return content;
	}
	catch
	{
		throw;
	}
}
When we convert attached XAML content with above code it will gives an output pdf file but when we open pdf file into Adobe Reader DC it will display some error message before opening it.

Currently we are using 2016.2.905.45 version.

Previously when we was use 2016.1.302.45 version at that time we didn't notice same issue.

Please assist.

Thank you.
Completed
Last Updated: 28 May 2019 13:05 by ADMIN
The generated ImageSource is associated with the import thread, while the UI invokes layout logic, which depends on that image, on the main thread. This causes a cross thread access exception.
Unplanned
Last Updated: 24 May 2019 16:37 by ADMIN
Created by: Sean
Comments: 0
Category: RichTextBox
Type: Feature Request
6
Implement a mechanism that allows embedding font data when exporting documents.
Declined
Last Updated: 20 Jun 2019 08:24 by ADMIN

Adding bookmarks with the same name programmatically always returns the first one in case use attempts to navigate to it using the Bookmarks dialog. 

Workaround: Remove the bookmark before adding a new one with the very same name.

Completed
Last Updated: 28 May 2019 10:46 by ADMIN
When the attribute is defined but no value is set to it, the format provider cannot import the content and throws NullReferenceException.
Unplanned
Last Updated: 02 May 2019 10:47 by ADMIN
Typing in Find dialog is not possible when having an ElementHost in a WinForms Windows to host a WPF User Control which contains the RadRichTextBox.
Unplanned
Last Updated: 30 Apr 2019 12:42 by ADMIN

If I setup the richtextbox content through the UI as shown in P1.png and try to restore it by pasting the generated html, I get instead P2.png. Expected to be the same. 

I attached the sample project. We're using the recommended settings to use the same html in telerik reports, but can't find the reference on your site, it used on the on this link http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/import-export/features-import-export-settings#htmlformatprovider

 

Unplanned
Last Updated: 18 Apr 2019 09:32 by ADMIN

Finding text with regex for the last paragraph is not possible. This is caused by the fact that the search treats the last paragraph symbol as the last paragraph.