Completed
Last Updated: 04 Oct 2016 06:45 by ADMIN
To reproduce: 
Please refer to the attached sample application and video demonstrating the experience issue. 

Workaround: 
Set RadRichTextEditor to null in Form`s Dispose method: 
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
    Me.RadRichTextEditor1 = Nothing
    Try
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
    Finally
        MyBase.Dispose(disposing)
    End Try
End Sub
Completed
Last Updated: 23 Aug 2016 09:03 by ADMIN
Workaround: use a custom RichTextEditorRibbonBar

Public Class CustomRichTextEditorRibbonBar
Inherits RichTextEditorRibbonBar

    Dim headerText As String
    Protected Overrides Function GetInsertTableItems() As RadItemCollection
        Dim collection As RadItemCollection = MyBase.GetInsertTableItems()
        Dim headerItem As RadMenuInsertTableItem = TryCast(collection(0), RadMenuInsertTableItem)
        headerText = "My Header Text"
        Dim fi As FieldInfo = GetType(RadMenuInsertTableItem).GetField("header", BindingFlags.NonPublic Or BindingFlags.Instance)
        Dim header As LightVisualElement = fi.GetValue(headerItem)
        header.Text = headerText
        AddHandler header.TextChanged, AddressOf header_TextChanged
        Return collection
    End Function

    Private Sub header_TextChanged(sender As Object, e As EventArgs)
        Dim lve As LightVisualElement = TryCast(sender, LightVisualElement)
        If lve.Text = "Insert Table" Then
            lve.Text = headerText
        End If
    End Sub
End Class
Completed
Last Updated: 23 Aug 2016 09:29 by ADMIN
Please refer to the attached screenshot. It is not possible to localize the marked label.

Workaround:

 Sub New()
     InitializeComponent() 
     Me.RadRichTextEditor1.RichTextBoxElement.InsertHyperlinkDialog = New CustomInsertHyperlinkDialog()
 End Sub

 Public Class CustomInsertHyperlinkDialog
     Inherits InsertHyperlinkDialog
     Protected Overrides Sub OnLoad(e As EventArgs)
         MyBase.OnLoad(e)
         Me.Controls("radLabel4").Text = "My address"
     End Sub
 End Class

Declined
Last Updated: 22 Jun 2016 05:53 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 1
Category: RichTextEditor
Type: Bug Report
0
To reproduce: please refer to the attached sample project.

Workaround: export RadRichTextEditor's content to a .doc file. Then, use the RadWordsProcessing library to import the .doc file and export it as a pdf:

Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider provider = 
    new Telerik.WinForms.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
string fileName = @"..\..\exported.doc";
string pdfFileName = @"..\..\exported.pdf";
Stream s = new FileStream(fileName,FileMode.Create, FileAccess.Write);
provider.Export(document, s);
s.Close();
s.Dispose();

Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider provider2 = 
    new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();
using (Stream input = File.OpenRead(fileName))
{
    Telerik.Windows.Documents.Flow.Model.RadFlowDocument document2 = provider2.Import(input);
    Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider provider3 = 
        new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();
    using (Stream output = File.OpenWrite(pdfFileName))
    { 
        provider3.Export(document2, output);
    }
}

System.Diagnostics.Process.Start(pdfFileName);       
Approved
Last Updated: 07 Jun 2016 06:17 by ADMIN
To reproduce:
1. Insert a table
2. Select all cells in it
3. Press the Backspace key => the table is removed but the table adorner is still visible

The adorner disappears if clicked
Approved
Last Updated: 06 Jun 2016 10:20 by ADMIN
To reproduce:
- Add some misspelled words.
- Enable the spell check - the layout is updated and the words are underlined.
- Disable the spell check - the lines are not removed until one clicks in the RichTextEditor.

Workaround:
 radRichTextEditor1.IsSpellCheckingEnabled = !radRichTextEditor1.IsSpellCheckingEnabled;
 radRichTextEditor1.Document.LayoutMode = DocumentLayoutMode.Paged;
 radRichTextEditor1.Document.LayoutMode = DocumentLayoutMode.Flow;

Approved
Last Updated: 25 May 2016 10:19 by ADMIN
Workaround:
string styleSuffix = "_1";
foreach (var importedStyle in rtfDoc.StyleRepository)
{
        importedStyle.Name = string.Concat(importedStyle.Name, styleSuffix);
}
Completed
Last Updated: 02 Sep 2016 10:00 by ADMIN
Completed
Last Updated: 06 Jun 2016 10:05 by ADMIN
Merge all assemblies exept Telerik.WinControls.UI.Design.dll.
Use the merged assembly in an application with RichTextEditorRibbonBar.
The icons are missing. 
Completed
Last Updated: 07 Jun 2016 15:32 by ADMIN
When the specified length of the stream is larger than the actual one, Adobe throws errors and removes the image.

Workaround:

Set the format provider settings:

PdfFormatProvider provider = new PdfFormatProvider();
PdfExportSettings exportSettings = new PdfExportSettings();
exportSettings.ContentsDeflaterCompressionLevel = 9;
exportSettings.ImagesDeflaterCompressionLevel = 9;
provider.ExportSettings = exportSettings;
Approved
Last Updated: 06 May 2016 13:17 by ADMIN
Workaround:
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        this.radRichTextEditor1.IsSpellCheckingEnabled = true;

        this.radRichTextEditor1.Insert("SOooome wrrrrong wooooooooords.");

        this.radRichTextEditor1.CommandExecuted += radRichTextEditor1_CommandExecuted;
    }

    bool shouldProcess = true;
    private void radRichTextEditor1_CommandExecuted(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
    {
        if (e.Command is DeleteCommand)
        {
            if (shouldProcess)
            {
                shouldProcess = false;
                RichTextEditorInputBehavior behavior = this.radRichTextEditor1.InputHandler;
                behavior.ProcessKeyDown(new KeyEventArgs(Keys.Back));    
            }

            shouldProcess = true;
        }
    }
}

Declined
Last Updated: 25 Apr 2016 14:43 by ADMIN
To reproduce:

radRichTextEditor.Document = new RadDocument();
radRichTextEditor.Document.MeasureAndArrangeInDefaultSize();
radRichTextEditor.UpdateEditorLayout();
radRichTextEditor.Document.CaretPosition.MoveToLastPositionInDocument();

var p = new Paragraph();
p.Inlines.Add(new Span("Cell"));
var cell = new TableCell();
cell.Blocks.Add(p);
var row = new TableRow();
row.Cells.Add(cell);
var table = new Table();
table.Rows.Add(row);
var section = new Section();
section.Blocks.Add(table);
radRichTextEditor.Document.Sections.Add(section);
radRichTextEditor.Document.CaretPosition.MoveToLastPositionInDocument();

var provider = new RtfFormatProvider();
var txt = provider.Export(radRichTextEditor.Document);
Clipboard.SetText(txt, TextDataFormat.Rtf);

Workaround: measure the document after the section is added:
radRichTextEditor.Document.Sections.Add(section);
radRichTextEditor.Document.MeasureAndArrangeInDefaultSize();
radRichTextEditor.UpdateEditorLayout();
Completed
Last Updated: 20 Oct 2016 15:42 by ADMIN
Approved
Last Updated: 06 May 2016 14:13 by ADMIN
To reproduce:
- insert a fragmet from another RichtextEditor like this:
private void Button_Click(object sender, RoutedEventArgs e)
{
radRichTextBox.Document.Sections.Clear();
radRichTextBox.Document.Sections.Add(new Section());

radRichTextBox.Document.CaretPosition.MoveToLastPositionInDocument(); 
radRichTextBox.DocumentEditor.InsertParagraph();
radRichTextBox.DocumentEditor.InsertFragment(new DocumentFragment(radRichTextEditor1.Document));
radRichTextBox.DocumentEditor.InsertParagraph();
}

Workaround:
There is no point of resetting the section in such way. Nevertheless, you can avoid the exception by using one of the following methods:

radRichTextBox.Document.MeasureAndArrangeInDefaultSize();
radRichTextBox.UpdateEditorLayout();
Approved
Last Updated: 06 Jan 2017 11:16 by ADMIN
Local properties are not exported to HTML when style is applied over document element (paragraphs, spans, tables) in case the HtmlExportSettings.StyleExportMode is set to Inline.

To reproduce:
- Add two hyperlinks with differents font and font weights.
- Export them with the following code:
private void button1_Click(object sender, EventArgs e)
{
    HtmlFormatProvider html_provider = default(HtmlFormatProvider);
    string htmlBody = null;
    html_provider = new HtmlFormatProvider();
    html_provider.ExportSettings.StylesExportMode = StylesExportMode.Inline;
    html_provider.ExportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.ExportStylesAsCssClasses;
    htmlBody = html_provider.Export(radRichTextEditor1.Document);
    File.WriteAllText("test.html", htmlBody);
}
- Open the file and you will notice that the custom styles are not exported (the links are having the same style).

Workaround: 
html_provider.ExportSettings.StylesExportMode = StylesExportMode.Classes;
Approved
Last Updated: 05 Apr 2016 12:22 by ADMIN
1. Open RadRichTexEditor and type the following text: "שדג:3"  or open the attached file
2. Save the document as docx file
3. Compare the results in MS Word and in RadRichTexEditor

Observed result: in RadRichTexEditor the text is visualized as: ":3שדג"
Expected result: The text should be visualized as: "שדג:3"