We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Read-only Rich Text Editor

Thread ID:





118591 Mar 21,2015 09:01 AM UTC Mar 25,2015 03:36 AM UTC LightSwitch HTML 3
Tags: RichTextBox
Steve Cliff
Asked On March 21, 2015 09:01 AM UTC

I've now got my Rich text Editor working correctly (thanks for your help!) but some screens shouldn't show a true editor but a read-only view of the information.
In "olden" VB.Net GUI days it would be simple - just stick a .ReadOnly = True in the startup of the page ... but this new fangled HTML stuff is a bit different :)

I've Googled and searched and can see how to do it in LS Silverlight I think but can't twig how to sort this out in LS HTML Could someone point me in the right direction please?

NB. I can see how to get rid of the toolbar etc. - all I need to do is to stop anyone typing anything in to the control itself

Thanks in advance!

Sasikala Nagarajan [Syncfusion]
Replied On March 23, 2015 12:39 PM UTC

Hi Steve,

Thanks for using Syncfusion products,

We have analyzed your query (“all I need to do is to stop anyone typing anything in to the control itself”).We can achieve your requirement using our existing property of RTE allowEditing (Enables/Disables the editing of the content in rte.) .Please refer the below code snippet.

myapp.Browse.RTE_render = function (element, contentItem) {

var input = $("<textarea />");





value: contentItem.value,

change: function (args) {

contentItem.value = args.text;

}, allowEditing: false



To know more about available RTE properties, methods, events and its argument please refer the following link:

http://help.syncfusion.com/cr/js - This link showcases the list of Essential JS components and also includes API’s, Methods, and events and its arguments list supported by each corresponding components.

Please let us know if you have further queries,


Sasikala Nagarajan

Steve Cliff
Replied On March 23, 2015 09:18 PM UTC

Thanks again for your help - this sorted my problem out. I hadn't managed to find the API info until you linked it (I'd used http://help.syncfusion.com/lightswitch instead as my main source of detail) - very useful :)

Sasikala Nagarajan [Syncfusion]
Replied On March 25, 2015 03:36 AM UTC

Hi Steve,

Thanks for the update.Please let us know if you have further queries,


Sasikala Nagarajan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon