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