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

IsReadOnly="true" but embedded images still interactive

5 Answers 73 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rashad Rivera
Top achievements
Rank 1
Rashad Rivera asked on 22 May 2011, 10:11 PM
Hello All,

I'm using a RadRichTextBox to display a document.  I set the IsReadOnly to "True" but embeded images are still interactive (meaning a user can see the Resize border when they should not).  How do I make it so these document elements are not interactive?

- Rashad Rivera

5 Answers, 1 is accepted

Sort by
0
Rashad Rivera
Top achievements
Rank 1
answered on 23 May 2011, 06:43 AM
In addition to embedded pictures being interactive, table can be modified as well.  I need a solution that will render the content inside a RadRichTextBox totally unmodifiable.  I tried setting "IsEnabled" to false, but that has other undesirable behaviors like the fact that the content appears grayed out.
0
Iva Toteva
Telerik team
answered on 25 May 2011, 05:41 PM
Hi Rashad Rivera,

Being able to resize the table columns and rows width in read-only mode is a bug that will be fixed in the next release (Q2 Beta) at latest. As for the resize of images, this behavior is the one by design - images can be resized as a preview, but no changes to the document are actually committed.

Best wishes,
Iva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rashad Rivera
Top achievements
Rank 1
answered on 27 Jun 2011, 02:42 PM
Then how can I prevent the images from being resized?  Is there a Style trick I can do to intercept the MouseDown/Up events?  I need to make the images seems static for my product. 
0
Mike
Telerik team
answered on 30 Jun 2011, 03:26 PM
Hi Rashad Rivera,

Unfortunately such customization is not achievable in the current version of the product. We will try to squeeze in a such a feature for the upcoming release.  By the way, did you mange to check out the beta if the read-only behavior works for you?

All the best,
Mike
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rashad Rivera
Top achievements
Rank 1
answered on 02 Jul 2011, 05:01 PM
No I have not attempted to use the newest Beta.  I'll get back to you soon once I do.
Tags
RichTextBox
Asked by
Rashad Rivera
Top achievements
Rank 1
Answers by
Rashad Rivera
Top achievements
Rank 1
Iva Toteva
Telerik team
Mike
Telerik team
Share this question
or