I think I found a way to do this, but it takes a few steps.
First, you'll have to create a custom CSS file for each user level and save them into a folder in your web app. Here is the sample I created
Now, you can programmatically set the ContentAreaCssFile
property for RadEditor to whatever CSS file you've assigned that that particular user group. Here is my code-behind. You'll be replacing [ if (true) ] with your conditional user logic.
sender, EventArgs e)
RadEditor1.StripFormattingOptions = EditorStripFormattingOptions.Css;
EditorTool tool = group.FindTool(name);
The other item you might notice about the code above is the RemoveButton
logic. This is to prevent the user from changing the forecolor of the text by removing the ForeColor button from the RadEditor.
Finally, the StripFormattingOptions
section will ensure that a "Blue Level" user can not copy/paste Red text into the RadEditor.
Let me know if that works for you.