Skip to main content
A newer version of this page is available. .

ASPxHtmlEditorSettings.AllowScriptExecutionInPreview Property

Gets or sets a value that specifies whether the editor’s content scripts should be executed in Preview.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AllowScriptExecutionInPreview { get; set; }

Property Value

Type Default Description
Boolean **false**

true to execute scripts in preview; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowScriptExecutionInPreview
ASPxHtmlEditor
.Settings.AllowScriptExecutionInPreview
HtmlEditorSettings
.Settings.AllowScriptExecutionInPreview
MVCxHtmlEditor
.Settings.AllowScriptExecutionInPreview

Remarks

Use the AllowScriptExecutionInPreview property to specify whether the editor’s content scripts should be executed in Preview.

Note

The AllowScriptExecutionInPreview property is not in effect if the HtmlEditorHtmlEditingSettings.AllowScripts property is set to false.

See Also