Class CustomEvent
Abstract base class for client side event handlers
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.ClientScript.Events
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class CustomEvent : EventBase
Constructors
CustomEvent(EventType)
Create a new custom event
Declaration
public CustomEvent(EventType eventType)
Parameters
Type | Name | Description |
---|---|---|
EventType | eventType | The event to show confirmation dialog for |
CustomEvent(EventType, String)
Create a new custom event
Declaration
public CustomEvent(EventType eventType, string eventHandler)
Parameters
Type | Name | Description |
---|---|---|
EventType | eventType | The event to show confirmation dialog for |
System.String | eventHandler | The event handler. |
Properties
EventHandler
Confirmation message shown in the confirmation dialog
Declaration
public string EventHandler { get; set; }
Property Value
Type | Description |
---|---|
System.String | Returns System.String.Empty if undefined or set to null. |
Methods
AttachEvent(ScriptManager, String)
Attaches the confirmation dialog event to the supplied script manager
Declaration
public override void AttachEvent(ScriptManager scriptManager, string clientId)
Parameters
Type | Name | Description |
---|---|---|
ScriptManager | scriptManager | |
System.String | clientId |