简体   繁体   中英

To disable telerik:RadEditor c#

How to disable the telerik:RadEditor? i gave editor.enabled= false but the control is not visible.

Try using editor.enableEditing(false)

See the telerik forum here . The question is around disabling the editor from the client-side. Hopefully this helps.

in the code-behind you could do

editor.EditModes = EditModes.Preview;

This will force the editor to be only in Preview mode and not allow the user to change the mode to Design or Html mode. Which disables the toolbar buttons and the edit area is made read only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM