New to Telerik UI for ASP.NET Core? Download free 30-day trial

ChatEventBuilder

Defines the fluent API for configuring the Kendo UI Chat for ASP.NET MVC events.

Methods

ActionClick(System.String)

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

For more information see ActionClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the actionClick event.

ActionClick(System.Func)

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

For more information see ActionClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Post(System.String)

Fires when a message is posted to the Chat. Can be either through the message box, or through an action button click.

For more information see Post event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the post event.

Post(System.Func)

Fires when a message is posted to the Chat. Can be either through the message box, or through an action button click.

For more information see Post event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

SendMessage(System.String)

Fires when a message is posted through the Chat message box.

For more information see SendMessage event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the sendMessage event.

SendMessage(System.Func)

Fires when a message is posted through the Chat message box.

For more information see SendMessage event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

TypingEnd(System.String)

Fires when the user clears the chat message box which signals that the user has stopped typing. The event is also triggered when the user submits the currently typed in message.

For more information see TypingEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the typingEnd event.

TypingEnd(System.Func)

Fires when the user clears the chat message box which signals that the user has stopped typing. The event is also triggered when the user submits the currently typed in message.

For more information see TypingEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

TypingStart(System.String)

Fires when the user starts typing in the Chat message box. The event is fired only once and not upon each keystroke.

For more information see TypingStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the typingStart event.

TypingStart(System.Func)

Fires when the user starts typing in the Chat message box. The event is fired only once and not upon each keystroke.

For more information see TypingStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

ToolClick(System.String)

Fires when a button from the toolbar is clicked.

For more information see ToolClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the toolClick event.

ToolClick(System.Func)

Fires when a button from the toolbar is clicked.

For more information see ToolClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?