PromptBoxEventBuilder

Methods

Blur(System.String)

Defines the handler of the Blur client-side event. Fires each time the PromptBox loses focus.

For more information see Blur event.

Parameters

handler - System.String

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

Focus(System.String)

Defines the handler of the Focus client-side event. Fires each time the PromptBox receives focus.

For more information see Focus event.

Parameters

handler - System.String

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

Input(System.String)

Defines the handler of the Input client-side event. Fires each time the user types in the input field.

For more information see Input event.

Parameters

handler - System.String

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

InputBlur(System.String)

Defines the handler of the InputBlur client-side event. Fires each time the internal input element loses focus.

For more information see InputBlur event.

Parameters

handler - System.String

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

InputFocus(System.String)

Defines the handler of the InputFocus client-side event. Fires each time the internal input element receives focus.

For more information see InputFocus event.

Parameters

handler - System.String

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

ValueChange(System.String)

Defines the handler of the ValueChange client-side event. Fires when the value changes through user input (not programmatic changes).

For more information see ValueChange event.

Parameters

handler - System.String

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

MultilineStateChange(System.String)

Defines the handler of the MultilineStateChange client-side event. Fires when the PromptBox transitions between single-line and multi-line states in auto mode.

For more information see MultilineStateChange event.

Parameters

handler - System.String

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

FileRemove(System.String)

Defines the handler of the FileRemove client-side event. Fires each time the user removes a file attachment.

For more information see FileRemove event.

Parameters

handler - System.String

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

FileSelect(System.String)

Defines the handler of the FileSelect client-side event. Fires each time the user selects files using the File Select button.

For more information see FileSelect event.

Parameters

handler - System.String

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

PromptAction(System.String)

Defines the handler of the PromptAction client-side event. Fires when the action button is clicked (send or stop). Check e.actionType to determine the action.

For more information see PromptAction event.

Parameters

handler - System.String

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

SpeechToTextClick(System.String)

Defines the handler of the SpeechToTextClick client-side event. Fires each time the user clicks the Speech to Text button.

For more information see SpeechToTextClick event.

Parameters

handler - System.String

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

SpeechToTextEnd(System.String)

Defines the handler of the SpeechToTextEnd client-side event. Fires when the speech recognition service disconnects.

For more information see SpeechToTextEnd event.

Parameters

handler - System.String

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

SpeechToTextError(System.String)

Defines the handler of the SpeechToTextError client-side event. Fires when a speech recognition error occurs.

For more information see SpeechToTextError event.

Parameters

handler - System.String

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

SpeechToTextResult(System.String)

Defines the handler of the SpeechToTextResult client-side event. Fires when the speech recognition service returns a result.

For more information see SpeechToTextResult event.

Parameters

handler - System.String

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

SpeechToTextStart(System.String)

Defines the handler of the SpeechToTextStart client-side event. Fires when the speech recognition service begins listening.

For more information see SpeechToTextStart event.

Parameters

handler - System.String

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

KendoKeydown(System.String)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the PromptBox is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see KendoKeydown event.

Parameters

handler - System.String

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