Client script conditional statement used to decide whether the confirmation dialog is shown.

Namespace:  EPiServer.ClientScript.Events
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public string ConfirmCondition { get; set; }

Field Value

Returns Empty()()() if undefined or set to null.

Remarks

If the statement evaluates to true the confirmation dialog is shown otherwise the dialog will be supressed.

Examples

CopyC#
confirmEvent.ConfirmCondition = "document.getElementById('myCheckbox').checked == true";

See Also