SaaS CMS has officially launched! Learn more now.

Class ScriptAlertEvent

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

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

Constructors

ScriptAlertEvent()

Declaration
public ScriptAlertEvent()

Properties

AlertCondition

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

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

AlertMessage

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

Declaration
public string AlertMessage { 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