How to reproduce: set the RadRichTextEditor.IsReadOnly property to true, focus the control, use the Ctrl + K shortcut. The InsertHyperlinkDialog will be opened.
Workaround: handle the CommandExecuting event
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.radRichTextEditor1.IsReadOnly = true;
this.radRichTextEditor1.CommandExecuting += RadRichTextEditor1_CommandExecuting;
}
private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
if (this.radRichTextEditor1.IsReadOnly && e.Command is ShowInsertHyperlinkDialogCommand)
{
e.Cancel = true;
}
}
}