Unplanned
Last Updated: 18 Sep 2020 06:12 by ADMIN
Created by: Maulik
Comments: 0
Category: RichTextBox
Type: Bug Report
1
When the copied text doesn't contain any formating the Keep Text Only paste option should be applied (check the attached record.gif)
Completed
Last Updated: 24 Aug 2021 14:13 by ADMIN
Release LIB 2021.2.830 (30 Aug 2021)
When calling a ChangeAllFieldsDisplayMode(FieldDisplayMode.Result) on a document containing a multiline document variable ("First Line\vSecond Line\vThird Line") leads to wrongly updated span box text.

The result is: "Third Line¬Third Line¬Third Line"
Unplanned
Last Updated: 15 Sep 2020 08:16 by ADMIN

The DeepCopy method does not copy the font of the predefined table styles

 

Workaround:

var fragment = new DocumentFragment(radRichTextBox.Document);
radRichTextBox.Document = new RadDocument();
DefaultStyleSheet.Instance.ApplyStylesheetToDocument(radRichTextBox.Document);
radRichTextBox.InsertFragment(fragment);

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

 

       
Unplanned
Last Updated: 09 Sep 2020 14:01 by ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextBox
Type: Bug Report
3
Memory leak when changing the documents
Completed
Last Updated: 05 Oct 2020 13:54 by ADMIN
Release LIB 2020.3.1012 (12/10/2020)
Pressing 'a'+Enter simultaneously while in Japanese IME leads to en exception with the following message: Value cannot be null. Parameter name: insertIMETextCommandContext.
Unplanned
Last Updated: 03 Sep 2020 07:29 by ADMIN
Provide an option in the HtmlExportSettings to skip paragraph tags on export.

Workaround
htmlString = htmlString.Replace("<p>", string.Empty).Replace("</p>", string.Empty);
Unplanned
Last Updated: 03 Sep 2020 07:02 by ADMIN
Currently, when importing an RTF document that does not conform to RTF syntax an exception is thrown.

Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfUnexpectedElementException: 'Exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfUnexpectedElementException' was thrown.'
Unplanned
Last Updated: 26 Aug 2020 06:49 by ADMIN

In a specific scenario when there are many tables in a document the following case leads to NullReferenceException.

 - Select few tables 
 - while mouse is still selecting tables use keyboard's Ctrl + A
 - Leave the mouse 
 - use Ctrl + A again (this time everything is selected)
 - hit Delete
 - Object reference not set to an instance of an object is thrown

Completed
Last Updated: 08 Jun 2021 11:01 by ADMIN
Release R2 2021 SP1
When applying a Mail Merge the images in Merge Fields are not exported.
Unplanned
Last Updated: 27 Aug 2020 05:54 by ADMIN
Memory leak caused by the section columns dialog
Unplanned
Last Updated: 24 Aug 2020 07:21 by ADMIN

This functionality is supported by MS Word

A possible workaround could be to enclose the RadSpreadsheet as a UI element. More information could be found in the InlineUIContainer help article.

Unplanned
Last Updated: 25 Aug 2020 11:16 by ADMIN

Hello,

   We found a problem when using the radrichtextbox control. When radrichtextbox is enabled to cancel input, error will be reported using the sougou Chinese input method. This problem will not occur in the English input method. Please help solve it. Thank you very much.

Unplanned
Last Updated: 18 Aug 2020 10:27 by ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextBox
Type: Feature Request
2
One should be able to set the width of the caret
Completed
Last Updated: 16 Sep 2020 12:47 by ADMIN
Release R3 2020
Some customers need special annotations to determine that the content between them should not be spell checked and they should/shouldn't be treated as word separators.
Unplanned
Last Updated: 10 Aug 2020 08:50 by ADMIN
Currently, the text of the document is stored in the memory and it is not encrypted in any way.
Unplanned
Last Updated: 10 Aug 2020 06:12 by ADMIN
The first time users select an image and press Delete deletes only the fields and not the image.
Workaround: Attach to CommandExecuting and CommandExecuted events of RadRichTextBox and ensure the image is deleted using the following code:
private void radRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is DeleteCommand && imageToDelete!=null)
    {
        this.radRichTextBox.Document.Selection.Clear();
        this.radRichTextBox.Document.Selection.AddDocumentElementToSelection(imageToDelete);
        this.radRichTextBox.Delete(true);
        this.imageToDelete = null;
    }
}

private ImageInline imageToDelete;
void radRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is DeleteCommand)
    {
        var selectedBoxes = this.radRichTextBox.Document.Selection.GetSelectedBoxes().ToList();
        if (selectedBoxes.Count() == 2 && selectedBoxes[0].AssociatedInline is FieldRangeStart && selectedBoxes[1].AssociatedInline is ImageInline)
        {
            imageToDelete = selectedBoxes[1].AssociatedInline as ImageInline;
        }
    }
}

Unplanned
Last Updated: 07 Aug 2020 11:29 by ADMIN
On-screen keyboard disappears most of the time when using touch monitor to type.
Completed
Last Updated: 24 Feb 2025 10:51 by ADMIN
Release 2025.1.211 (2025 Q1)
Keys in Traditional Chinese On-screen Keyboard are duplicated.
Completed
Last Updated: 14 Aug 2020 11:34 by ADMIN
Release LIB 2020.2.817 (17/08/2020)

While typing in RadRichtextBox using Korean (Microsoft IME) keyboard "space" or "Enter" repeats the last typed character.

Workaround: Create a custom caret (example for custom caret) and override the EnableAsynchronousTextInsertion property so you can set it to false.