This is a migrated thread and some comments may be shown as answers.

Now longer able to highlight and copy text in read only mode

3 Answers 71 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Laura Edwards
Top achievements
Rank 1
Laura Edwards asked on 14 Sep 2011, 09:57 PM
Hello,

We just recently upgraded to 2011 Q2 and lost the ability to highlight/select text and copy using the built in context menu when the radrichtextbox is in readonly mode. We didn't change any of our code. Is there something we can do to get this working again?

Thanks,
Laura

3 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 15 Sep 2011, 04:16 PM
Hi Laura Edwards,

We have not encountered such an issue before.
However, RadRichTextBox has a property IsSelectionEnabled and if you have set it to False, you won't be able to select and copy text from the document. The value of this property does not depend on the value of the IsReadOnly property, so unless you set it explicitly, there will be no reason why selection will be disabled.

If you don't manage to resolve the issue, we would appreciate a sample demo illustrating the problem, so that we can assist you further.

All the best,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Laura Edwards
Top achievements
Rank 1
answered on 15 Sep 2011, 09:10 PM
So I think it has something to do with the fact that the richtextboxes are in expanders because we have one that's not in an expander that I changed to read only and the select/highlight and context menu work fine.

There is no difference between the richtextboxes that are in the expander and are not in them code wise.

Is there anything that can be done to fix this to make it work like it did before we upgraded?
0
Mihail
Telerik team
answered on 21 Sep 2011, 09:50 AM
Hi Laura Edwards,

 We can't reproduce the reported problem neither inside or outside expander. Could you create a simple project demonstrating the problem and attach it to support ticket, so we can understand exactly how the problem appears and help you to solve the issues.

All the best,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Laura Edwards
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Laura Edwards
Top achievements
Rank 1
Mihail
Telerik team
Share this question
or