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

[Solved] Editable and non-editable sections inside RTB

1 Answer 140 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vishal
Top achievements
Rank 1
Vishal asked on 03 Oct 2011, 02:28 PM
Can we keep some of the paragraphs inside RTB as non-editable?
User should be able to re-rder other editable paragraphs as a whole without touching the non-editable ones. In other words, user should move the entire paragraphs but not just parts of them.
Has anybody tried this?

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 05 Oct 2011, 01:13 PM
Hello Vishal,

Please find attached a demo illustrating the use of ReadOnlyRanges.
The ReadOnlyRanges' functionalilty is separated in an improvised tab in the RibbonUI. As there are no commands for the operations yet, the implementations of delete/lift permissions/etc. is done in code-behind on button click. Another thing worth mentioning is that documents with ReadOnlyRanges can only be persisted in XAML for now.

Best wishes,
Iva
the Telerik team

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

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