# 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/blur) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### Blur(System.Func)

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

For more information see [Blur](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/blur) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### Focus(System.String)

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

For more information see [Focus](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/focus) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### Focus(System.Func)

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

For more information see [Focus](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/focus) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/input) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### Input(System.Func)

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

For more information see [Input](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/input) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/inputblur) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### InputBlur(System.Func)

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

For more information see [InputBlur](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/inputblur) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/inputfocus) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### InputFocus(System.Func)

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

For more information see [InputFocus](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/inputfocus) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/valuechange) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### ValueChange(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/valuechange) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/multilinestatechange) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### MultilineStateChange(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/multilinestatechange) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/fileremove) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### FileRemove(System.Func)

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

For more information see [FileRemove](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/fileremove) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/fileselect) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### FileSelect(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/fileselect) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/promptaction) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### PromptAction(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/promptaction) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextclick) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextClick(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextclick) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextEnd(System.String)

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

For more information see [SpeechToTextEnd](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextend) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextEnd(System.Func)

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

For more information see [SpeechToTextEnd](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextend) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextError(System.String)

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

For more information see [SpeechToTextError](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotexterror) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextError(System.Func)

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

For more information see [SpeechToTextError](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotexterror) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextresult) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextResult(System.Func)

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

For more information see [SpeechToTextResult](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextresult) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextstart) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### SpeechToTextStart(System.Func)

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

For more information see [SpeechToTextStart](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/speechtotextstart) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### 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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/kendokeydown) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .

### KendoKeydown(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/promptbox/events/kendokeydown) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [PromptBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/promptboxeventbuilder) .
