The ASP.NET MVC Rich Text Editor (RichEdit extension) provides support for working with protected documents. When the RichEdit extension opens a fully protected document, users cannot edit it. If a protected document includes range permissions that enable editing document parts for a unique user or user group, the RichEdit is able to identify the current user and grant him/her the corresponding permissions. Use the RichEdit's Authentication property to authorize the current document user by its name, email or user group name. You can also define how the permitted ranges are highlighted within the RichEdit extension by using the RangePermission property.
In this demo, the RichEdit opens a protected document that includes permitted ranges for four users identified by email: each user is authorized to edit a separate text area. You can switch between users to edit different text parts. The range that is enabled for the current user is highlighted. You can disable the highlighting or customize its color using the corresponding demo's elements.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxRichEditDemos