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: 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.
Unplanned
Last Updated: 30 Jun 2021 08:28 by ADMIN
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Feature Request
1
These shapes represent a thin line with an arrow. They cannot be inserted through the UI and are not properly rendered when importing a document with them.
Declined
Last Updated: 14 Oct 2019 09:58 by ADMIN

Hi support,

We have a problem when we copy a text from MS word to RitchTextBox.
If the text copied uses an style that the namecontains tilde, then style name on the ritchtextbox is broken with strange characters.
All works well with this strange characters, but if you export to html and then import to ritchtextbox, the style is lost ...

This is a big problem because in spanish, many styles have tildes. When our user copy content from word they have problem with html format export / import.


I Attach a MS Word docx with a style with tildes:

Steps to reproduce it:

1- Open MS Word attached.
2- Copy the content.
3- Open a ritchTextBox Editor
4- Paste the content.
5- Export to html
6- Import the html.

You can see now, that the style are lost, and the name of the style contains strange characters.

Similar issue its happen when open a Word Docx with styles with tildes from ritchTextBox, not include strange characters but the style is lost.

 

Thanks for you support,

Unplanned
Last Updated: 08 Mar 2021 13:26 by ADMIN

When "rFonts" is set in docDefaults:

<w:styles>
	<w:docDefaults>
		<w:rPrDefault>
			<w:rPr>
				<w:rFonts w:ascii="Verdana" w:eastAsia="Times New Roman" w:hAnsi="Verdana" w:cs="Verdana"/>
				...
			</w:rPr>
		</w:rPrDefault>

and partially in the local run properties:

<w:r>
	<w:rPr>
		<w:rFonts w:cs="Times New Roman"/>
		...
	</w:rPr>
	<w:t>Text</w:t>
</w:r>

A wrong font is applied.

ExpectedVerdana
Actual: Times New Roman

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: 30 Jun 2021 08:27 by ADMIN
When the header contains fields whose result value length increases through the pages, the height of the first measured header is respected. This could result in missing content on the following pages. An example of such a field is the PAGE field whose value initially is a single-digit but can increase.
Completed
Last Updated: 19 Jun 2015 10:01 by Maciej
ADMIN
Created by: Kammen
Comments: 5
Category: RichTextBox
Type: Bug Report
1
Tap and Hold gesture does not work as expected.

The feature will be available in our official release 2015 Q2 .
Completed
Last Updated: 16 Feb 2022 11:50 by ADMIN
Release R1 2022 SP1
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Bug Report
1
When the 'NoFill' option is selected for the fill of a shape, it should be rendered. However, the shape is visualized in RadRichTextBox with white fill.
Unplanned
Last Updated: 05 Mar 2021 05:56 by ADMIN
The span's bounding rectangle is not measured correctly, which results in creating a visual text element with smaller height than needed. Resizing the table cell does not affect the scenario as expected.
Completed
Last Updated: 15 Apr 2015 10:28 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When ignoring incorrect words through the Spelling dialog and you reach the last word in the document which is incorrect, only one more word from the beginning of the document is checked prior showing a message that the check is complete. Instead, all incorrect words starting from the beginning of the document should be spellchecked. 

The issue is reproduced when adding the incorrect words to the dictionary. In order to reproduce the issue, only "Ignore" or "Add to Dictionary" action should be applied. When the actions are mixed, the issue is not reproduced.

Workaround: before opening the spellchecking dialog, move caret at the beginning of the document
this.radRichTextBox.Document.CaretPosition.MoveToFirstPositionInDocument();
Completed
Last Updated: 31 May 2016 10:36 by ADMIN
As a result, table is visualized in RadRichTextBox with extremely large column widths.
Completed
Last Updated: 29 Sep 2020 12:08 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)

Here we are:

            HtmlFormatProvider htmlProvider = new HtmlFormatProvider();
            htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;

            string _html =
                @"
                <html>
                <head>
                <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
                </head>
                <body>
                <div name=""divtagdefaultwrapper"" style=""font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"">

                <div class=""WordSection1"">
                <p class=""MsoNormal"" style=""text-autospace:none"">
                <span style=""font-size:11pt; color:rgb(31,73,125)"">
                            I am out of office, please contact Aaaaaa Bbbbbbb (Tel: &#43;1-234-567-8900/email:
                <a href=""mailto:aaaaaa.bbbbbb@zzz.com"">aaaaaa.bbbbbb@zzz.com</a>) for assistance
                </span>
                </p>
                </div>
                </div>

                </body>
                </html>
                ";

            RadDocument _doc = htmlProvider.Import(_html); 
            radRichTextBox.Document = _doc;

And here is an exception:

 

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.RichTextBox
  StackTrace:
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.FillSpanProperties(SpanProperties spanProps, EvaluateProperty evalFunction, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.CreateSpanFromTextNode(INode childNode, Paragraph paragraph, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessContentNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.Import(Stream input)
   at Telerik.Windows.Documents.FormatProviders.Html.HtmlFormatProvider.Import(Stream input)
   at Telerik.Windows.Documents.FormatProviders.Html.HtmlFormatProvider.Import(String input)
   at WpfTest.MainWindow.ButtonTest_OnClick(Object sender, RoutedEventArgs e) in C:\Users\mosvk\Source\Workspaces\Bm.Extensions\test\WpfTest\MainWindow.xaml.cs:line 191

 

       
Completed
Last Updated: 19 Feb 2021 08:26 by ADMIN
Release R1 2021 SP1
The caret position is incorrect when there is a global ScrollViewer style that sets the FlowDirection to RightToLeft
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
In MS Word the user could add different effects to the selected text. This could be done through Font -> Text Effects... button.
Completed
Last Updated: 16 Mar 2021 12:12 by ADMIN
Release LIB 2021.1.322 (22/3/2021)

The GetSupportedExtensions method of DocumentFormatProvidersManager throws NullReferenceException when invoked.

Workaround:

HashSet<string> supportedExtensions = new HashSet<string>();
foreach (var provider in DocumentFormatProvidersManager.FormatProviders)
{
    foreach (var extension in provider.SupportedExtensions)
    {
        supportedExtensions.Add(extension);
    }
}

 

Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
In HTML the width of the columns in a table could be set as proportions of the remaining free space using width="3*"

Example:
<TABLE>
<COLGROUP>
   <COL width="30">
<COLGROUP>
   <COL width="30">
   <COL width="0*">
   <COL width="2*">
<COLGROUP>
   <COL width="1*">
   <COL width="3*">
<THEAD>
<TR><TD> ...
...rows...
</TABLE>



First the user agent will allot 30 pixels to columns one and two. Then, the minimal space required for the third column will be reserved. The remaining horizontal space will be divided into six equal portions (since 2* + 1* + 3* = 6 portions). Column four (2*) will receive two of these portions, column five (1*) will receive one, and column six (3*) will receive three.

Note: This is not supported even by MS Word. 
Completed
Last Updated: 07 Nov 2018 14:35 by ADMIN
When a document containing fields and with a custom theme is exported to .docx and opened in MS Word, the theme is different.

Available in R3 2018 Official Release.
Completed
Last Updated: 31 Oct 2018 08:11 by ADMIN
If a document with default tab stops width 0 or imported or the value is set from the UI, measuring the document when it contains a tab causes an InvalidOperationException with message "MeasureOverride returned Nan".

Workaround: If the case is importing a document, change the default tab stop width to value which is not 0.

            if (document.DefaultTabWidth == 0)
            {
                  // set this to large number if there are performance problems, e.g. 0.5. 
                  document.DefaultTabWidth = 0.01;
            }

Steps to reproduce:
1. Load RadRichTextBox and add text in it.
2. Change default tab stops value from the Paragraph Properties Dialog -> Tabs Dialog to 0''
3. Add a tab to the paragraph.
Observed: InvalidOperationException with message "MeasureOverride returned NaN" is thrown.

Fix available in LIB Version 2017.3.1120.