New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines the client events handlers.

Definition

Constructors

C#
public ChatClientEvents()

Properties

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

Fired when an action button is clicked inside an attachment template, or when a suggestedAction is clicked.

C#
[ClientControlEvent]
[ClientPropertyName("actionClick")]
public string OnActionClick { get; set; }

Fired when the chat control is initialized.

C#
[ClientControlEvent]
[ClientPropertyName("initialize")]
public string OnInitialize { get; set; }

Fired when the chat control is loaded on the page.

C#
[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.

C#
[ClientControlEvent]
[ClientPropertyName("post")]
public string OnPost { get; set; }

Fired when a message is posted through the chat message box.

C#
[ClientControlEvent]
[ClientPropertyName("sendMessage")]
public string OnSendMessage { get; set; }

Fired when a button from the toolbar is clicked.

C#
[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.

C#
[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.

C#
[ClientControlEvent]
[ClientPropertyName("typingStart")]
public string OnTypingStart { get; set; }