Declined
Last Updated: 21 Sep 2015 13:40 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 10 Sep 2015 15:33
Category: RichTextEditor
Type: Bug Report
0
FIX. RadRichTextEditor - caret should not be displayed when IsReadOnly is set to true
To reproduce:

public Form1()
{
    InitializeComponent();
    this.radRichTextEditor1.IsReadOnly = true;
}

Workaround:
private void Form1_Load(object sender, EventArgs e)
{
    this.radRichTextEditor1.IsReadOnly = true;
    Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter webLayoutPresenter = 
        this.radRichTextEditor1.RichTextBoxElement.ActiveEditorPresenter as Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter;
    webLayoutPresenter.Caret.Width = 0;
}

1 comment
ADMIN
Stefan
Posted on: 21 Sep 2015 13:39
After further discussing this case, we decided to Decline it. By default, the caret should appear, so one can easily identify the position in the document to select some part of it.

Should you need to hide the caret, you can use the above mentioned API.