Skip to main content

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.v24.1.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 Web Forms Controls ASPxHtmlEditor
.Settings .AllowScriptExecutionInPreview
ASP.NET MVC Extensions HtmlEditorSettings
.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