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.v20.2.dll

NuGet Package: DevExpress.Web

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:

Library Object Type Path to AllowScriptExecutionInPreview
ASP.NET Controls and MVC Extensions ASPxHtmlEditor
.Settings .AllowScriptExecutionInPreview
ASP.NET MVC Extensions 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