Kendo.Mvc.UI.Fluent.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 additional information check the actionClick event documentation.

Parameters

handler System.String

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

ActionClick(System.Func<System.Object,System.Object>)

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

For additional information check the actionClick event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Post(System.String)

Fired when a message is posted to the chat widget. This can be either through the message box, or an action button click.

For additional information check the post event documentation.

Parameters

handler System.String

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

Post(System.Func<System.Object,System.Object>)

Fired when a message is posted to the chat widget. This can be either through the message box, or an action button click.

For additional information check the post event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

SendMessage(System.String)

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

For additional information check the sendMessage event documentation.

Parameters

handler System.String

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

SendMessage(System.Func<System.Object,System.Object>)

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

For additional information check the sendMessage event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

TypingEnd(System.String)

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.

For additional information check the typingEnd event documentation.

Parameters

handler System.String

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

TypingEnd(System.Func<System.Object,System.Object>)

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.

For additional information check the typingEnd event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

TypingStart(System.String)

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

For additional information check the typingStart event documentation.

Parameters

handler System.String

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

TypingStart(System.Func<System.Object,System.Object>)

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

For additional information check the typingStart event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

ToolClick(System.String)

Fired when a button from the toolbar is clicked.

For additional information check the toolClick event documentation.

Parameters

handler System.String

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

ToolClick(System.Func<System.Object,System.Object>)

Fired when a button from the toolbar is clicked.

For additional information check the toolClick event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?