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

Selection that extends across other PermissionRange

1 Answer 35 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 17 Jan 2013, 02:58 PM
How do you perform copy and preserve the permissions ranges and custom annotations inside?

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 21 Jan 2013, 04:44 PM
Hi Jack,

All Inlines in the element's hirarchy of RadDocument have a IsCopyable property which is set to false for PermissionRangeStart and PermissionRangeEnd. This is the behavior by design as copy/pasting a permission range is not a straightforward action. If you wish to implement such behavior you can inherit from the above-mentioned classes and override the IsCopyable property.

The same applies for custom annotations which are also inlines - if you want to be able to copy them, you should inherit from AnnotationRangeStart and AnnotationRangeEnd and override the IsCopyable property of the the custom annotation. More information on how to create a custom annotation can be found in this help article.

I hope this helps!

All the best,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Jack
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or