Selection that extends across other PermissionRange

2 posts, 0 answers
  1. Jack
    Jack avatar
    4 posts
    Member since:
    Aug 2012

    Posted 17 Jan 2013 Link to this post

    How do you perform copy and preserve the permissions ranges and custom annotations inside?
  2. Petya
    Petya avatar
    990 posts

    Posted 21 Jan 2013 Link to this post

    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,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top