ChatClientEvents
Defines the client events handlers.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class ChatClientEvents : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerChatClientEvents
Implements:
Inherited Members
Constructors
public ChatClientEvents()
Properties
Specifies whether the implementing object has default values.
public bool IsDefault { get; }
Implements:
Fired when an action button is clicked inside an attachment template, or when a suggestedAction is clicked.
[ClientControlEvent]
[ClientPropertyName("actionClick")]
public string OnActionClick { get; set; }
Fired when the chat control is initialized.
[ClientControlEvent]
[ClientPropertyName("initialize")]
public string OnInitialize { get; set; }
Fired when the chat control is loaded on the page.
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnLoad { get; set; }
Fired when a message is posted to the chat widget. This can be either through the message box, or an action button click.
[ClientControlEvent]
[ClientPropertyName("post")]
public string OnPost { get; set; }
Fired when a message is posted through the chat message box.
[ClientControlEvent]
[ClientPropertyName("sendMessage")]
public string OnSendMessage { get; set; }
Fired when a button from the toolbar is clicked.
[ClientControlEvent]
[ClientPropertyName("toolClick")]
public string OnToolClick { get; set; }
Fired when the user clears the chat message box, signaling that he stopped typing. The event is also triggered when the user submits the currenlty typed in message.
[ClientControlEvent]
[ClientPropertyName("typingEnd")]
public string OnTypingEnd { get; set; }
Fired when the user starts typing in the chat message box. The event is fired only once, and not upon each keystroke.
[ClientControlEvent]
[ClientPropertyName("typingStart")]
public string OnTypingStart { get; set; }