Unplanned
Last Updated: 21 May 2018 13:09 by ADMIN
Unplanned
Last Updated: 06 Feb 2017 10:00 by ADMIN
How to reproduce:
private void radButton1_Click(object sender, EventArgs e)
{
    RadPrintDocument doc = new RadPrintDocument();
    doc.Margins = new Margins(0, 0, 10, 10);

    doc.AssociatedObject = this.radRichTextEditor1;
    RadPrintPreviewDialog dialog = new RadPrintPreviewDialog();
    dialog.Document = doc;
    dialog.ShowDialog();
}

Workaround: apply the margins on the document loaded in the editor
private void radButton1_Click(object sender, EventArgs e)
{
    RadPrintDocument doc = new RadPrintDocument();
    this.radRichTextEditor1.Document.SectionDefaultPageMargin = new Telerik.WinForms.Documents.Layout.Padding(0, 0, 10, 10);

    doc.AssociatedObject = this.radRichTextEditor1;
    RadPrintPreviewDialog dialog = new RadPrintPreviewDialog();
    dialog.Document = doc;
    dialog.ShowDialog();
}

Unplanned
Last Updated: 06 May 2016 13:16 by ADMIN
ADMIN
Created by: Hristo
Comments: 0
Category: RichTextEditor
Type: Feature Request
2

			
Unplanned
Last Updated: 30 Apr 2021 08:16 by ADMIN
Unplanned
Last Updated: 15 Aug 2017 10:08 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Feature Request
2
Support for math type equations. 
Unplanned
Last Updated: 25 Nov 2019 13:17 by ADMIN
Created by: KrishTS
Comments: 3
Category: RichTextEditor
Type: Feature Request
2

Hi Team,

Greetings! 

We recently bought your Tool for one our Windows Forms Project work in VS2019 (4.7.2 framework). 

There is a need for us to have Emojis inside the editable Textbox / RichTextEditor in Color.

For example, if we paste Emojis inside the text editor, it should retain the color of the Emoji as it is. 

Currently if we paste the Emoji inside the text editor, its only pasting the Emoji but losing it's color. 

How to retain the color of the Emoji inside the editable Textbox / RichTextEditor ? Is there any property or so we need to set?

The users of our application can paste any kind of Emoji (like inbuilt Windows10 Operating System Emojis etc.,) and there is no limitation for this. 

Kindly advice.

 

with regards,

Krish TS,

Senior Technical Programmer Analyst,

DXC.technology,

India. 

Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
If I drag&drop a RadRichTextEditor i want a wizard like the RichTextBox-WPF-Control. I don't like the ribbon style, because I need a compact editor. So I like the CommandBarStrip look of the "command bar ui"-demo or the ASP.NET Editor.
Unplanned
Last Updated: 31 Aug 2020 13:03 by ADMIN
Created by: Oksana
Comments: 0
Category: RichTextEditor
Type: Feature Request
2
Add support for Paragraph and Page borders.
Unplanned
Last Updated: 18 Sep 2020 06:55 by ADMIN
Created by: Maulik
Comments: 0
Category: RichTextEditor
Type: Bug Report
2
When the copied text doesn't contain any formating the Keep Text Only paste option should be applied.
Unplanned
Last Updated: 30 Mar 2016 12:20 by ADMIN
To reproduce:
Use the following code and then select some text:
private void radButton1_Click(object sender, EventArgs e)
{
    TxtFormatProvider txtProvider = new TxtFormatProvider();
    RichTextEditor.Document = txtProvider.Import(sampleText);

    RichTextEditor.Document.LineSpacingType = LineSpacingType.Exact;
    RichTextEditor.Document.LineSpacing =10;

    DocumentPosition startPosition = RichTextEditor.Document.CaretPosition;
    DocumentPosition endPosition = new DocumentPosition(startPosition);
    startPosition.MoveToStartOfDocumentElement(RichTextEditor.Document);
    endPosition.MoveToEndOfDocumentElement(RichTextEditor.Document);

    RichTextEditor.Document.Selection.Clear();
    RichTextEditor.Document.Selection.AddSelectionStart(startPosition);
    RichTextEditor.Document.Selection.AddSelectionEnd(endPosition);

    RichTextEditor.RichTextBoxElement.ChangeFontFamily(new Telerik.WinControls.RichTextEditor.UI.FontFamily("Segoe UI"));
    RichTextEditor.RichTextBoxElement.ChangeFontSize(Unit.PointToDip(10));
    RichTextEditor.Document.Selection.Clear();
}

Workaround:
    RichTextEditor.Document.LineSpacingType = LineSpacingType.Auto;
    RichTextEditor.Document.LineSpacing =.5;
Unplanned
Last Updated: 30 Mar 2016 11:00 by Svetlin
The HtmlFormatProvider does not import correctly html content of div tags and css styles.
Unplanned
Last Updated: 22 Dec 2020 14:52 by ADMIN

Some fonts don't include bold and italic font styles. Currently, text formatted with such fonts and with applied bold or italic formatting is exported without the italic or bold effect. Instead, the default typeface can be exported, and additional transformation could be applied to the letters itself - e.g. skew transform for the italic.

Note: It seems that the GlyphTypeface for such fonts is using a non-italic (non-bold) font file and has StyleSimulations property set to ItalicSimulation (BoldSimulation) which is used in order to render the glyphs italic.

Unplanned
Last Updated: 24 Dec 2020 08:20 by ADMIN
Created by: Guillermo
Comments: 0
Category: RichTextEditor
Type: Feature Request
2

Implement nested mail merge - creating mail merge reports using master-detail tables in a data source.

Typical example of this is creating an invoices with mail merge, where each invoice contains a list of items.

Workaround: for some scenarios creating custom merge field which evaluates to Table could simulate this behavior:

http://www.telerik.com/forums/merge-reports#lUdH39ww00SnEhTLLlrXwA

Unplanned
Last Updated: 24 May 2023 14:25 by Fabian
Add an option for users to be able to export embedded images as Content IDs.
CID images work by attaching the image to the email sent and then using standard HTML image tags that reference that image to eventually embed it in the email when the user opens it.
Unplanned
Last Updated: 30 Mar 2016 11:10 by ADMIN
To reproduce:
string text = "<p style=\"font-family:Calibri; font-size:15pt;\">Hi,<br/><br/><br/><br/>Regards<br/></p>";

HtmlFormatProvider provider = new HtmlFormatProvider();
RadDocument document = new RadDocument();
document = provider.Import(text);

radRichTextBox1.Document = document;

Click on an empty line and you will see that the font is different.
Unplanned
Last Updated: 01 Mar 2023 06:28 by Ziping

RichTextEditor: Lists are always exported to HTML with Verdana font. 

Changing the normal style or setting the DocumentInheritsDefaultStyleSettings has no effect.

Unplanned
Last Updated: 08 Mar 2017 07:58 by ADMIN
How to reproduce:
public partial class Form1 : Form
{
    RadRichTextBox tb1;
    RadRichTextBox tb2;
    private bool shouldFocus = false;

    public Form1()
    {
        InitializeComponent();

        tb1 = new RadRichTextBox();
        this.Controls.Add(tb1);

        tb2 = new RadRichTextBox();
        tb2.Location = new Point(200, 0);
        this.Controls.Add(tb2);

        this.Load += Form1_Load;
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        StyleDefinition style = new StyleDefinition();
        tb1.IsReadOnly = true;
        tb1.Document.Insert("text 1", style);

        tb2.Document.Insert("text 2", style);
        tb2.IsReadOnly = true;
    }

    private void radButton1_Click(object sender, EventArgs e)
    {
        tb1.IsReadOnly = false;
        tb2.IsReadOnly = false;
        tb1.Focus();
    }
}

Workaround:
public partial class Form1 : Form
{
    RadRichTextBox tb1;
    RadRichTextBox tb2;
    private bool shouldFocus = false;

    public Form1()
    {
        InitializeComponent();

        tb1 = new RadRichTextBox();
        tb1.GotFocus += tb1_GotFocus;
        tb1.LostFocus += tb1_LostFocus;
        this.Controls.Add(tb1);

        tb2 = new RadRichTextBox();
        tb2.Location = new Point(200, 0);
        tb2.GotFocus += tb2_GotFocus;
        tb2.LostFocus += tb2_LostFocus;
        this.Controls.Add(tb2);

        this.Load += Form1_Load;
    }

    private void tb2_LostFocus(object sender, EventArgs e)
    {
        shouldFocus = false;
        tb2.IsReadOnly = true;
    }

    private void tb2_GotFocus(object sender, EventArgs e)
    {
        if (shouldFocus)
        {
            tb2.IsReadOnly = false;
        }
    }

    private void tb1_LostFocus(object sender, EventArgs e)
    {
        tb1.IsReadOnly = true;
    }

    private void tb1_GotFocus(object sender, EventArgs e)
    {
        if (shouldFocus)
        {
            tb1.IsReadOnly = false;
        }
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        StyleDefinition style = new StyleDefinition();
        tb1.IsReadOnly = true;
        tb1.Document.Insert("text 1", style);

        tb2.Document.Insert("text 2", style);
        tb2.IsReadOnly = true;
    }

    private void radButton1_Click(object sender, EventArgs e)
    {
        if (shouldFocus)
        {
            tb2.Focus();
        }
        else
        {
            shouldFocus = true;
            tb1.Focus();
        }
    }
}
Unplanned
Last Updated: 16 Apr 2021 06:30 by ADMIN
Created by: Oksana
Comments: 0
Category: RichTextEditor
Type: Feature Request
2

To reproduce: 

public RadForm1()
{
    InitializeComponent();
    radRichTextEditor1.CommandExecuted += RadRichTextEditor1_CommandExecuted; 
    radRichTextEditor1.ActiveDocumentEditorChanged += RadRichTextEditor1_ActiveDocumentEditorChanged;
}

private void RadRichTextEditor1_ActiveDocumentEditorChanged(object sender, Telerik.WinForms.Documents.UI.ActiveDocumentEditorChangedEventArgs e)
{
    e.OldActiveEditor.CommandExecuted -= RadRichTextEditor1_CommandExecuted;
    e.NewActiveEditor.CommandExecuted += RadRichTextEditor1_CommandExecuted;        
}

 
private void RadRichTextEditor1_CommandExecuted(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
{
    if (e.Command is InsertPictureCommand)
    {

        var imageInline = this.radRichTextEditor1.DocumentEditor.Document.CaretPosition.GetPreviousInline() as ImageInline;
        if (imageInline != null)
        {
            imageInline.Size = new Telerik.WinControls.RichTextEditor.UI.Size(50, 50);
        }
    }
}
Unplanned
Last Updated: 19 Apr 2021 05:19 by ADMIN
Make the image loading async and consider reducing their size like MS Word