Page tree
Skip to end of metadata
Go to start of metadata

This property stipulates whether the user of EditLive! is able to edit the contents of the editor.

Syntax

Visual Basic Script
object.ReadOnly = strRead
ASP.NET
prefix:EditLiveJava ReadOnly = strRead
JavaScript
editliveInstance.setReadOnly(strRead);

Parameters

strRead

A string which specifies if the user is able to edit the contents of EditLive!. If strReturn is true, then only the body is returned. If strReturn is false, then the entire document is to be returned.

There are only two possible values for this attribute: true and false.

Examples

The following code would specify that the user of EditLive! is unable to edit the editor's contents.

VBScript
editlive1.ReadOnly = "true"
ASP.NET Server Control
<elj:EditLiveJava
  ...
  ReadOnly = "true" 
  ... 
/>
JavaScript
editlive_js.setReadOnly("true");
  • No labels