SaaS CMS has officially launched! Learn more now.

Class ScriptConfirmEvent

Attaches a client side confirmation pop-up for the event and control specified

Inheritance
System.Object
ScriptConfirmEvent
Namespace: EPiServer.ClientScript.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ScriptConfirmEvent : ScriptEventBase

Constructors

ScriptConfirmEvent()

Declaration
public ScriptConfirmEvent()

Properties

ConfirmCondition

Get or set a client side conditional statement which will indicate whether the confirmation dialog is shown or not

Declaration
public string ConfirmCondition { get; set; }
Property Value
Type Description
System.String

ConfirmMessage

Get or set the confirmation message shown when the event is raised.

Declaration
public string ConfirmMessage { get; set; }
Property Value
Type Description
System.String

PostConfirmHandler

Gets or sets a client side function reference called after the confirmation dialog has been dismissed.

Declaration
public string PostConfirmHandler { get; set; }
Property Value
Type Description
System.String

Methods

CreateEvent()

Create an instance of the event this web control represents.

Declaration
protected override EventBase CreateEvent()
Returns
Type Description
EventBase

An EventBase derived event instance.

Overrides

Extension Methods