Defines the fluent API for configuring the Kendo PromptBox for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PromptBoxEventBuilder : EventBuilder
Inheritance: objectEventBuilderPromptBoxEventBuilder
Inherited Members
Constructors
Initializes a new instance of the PromptBox class.
public PromptBoxEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the Blur client-side event. Fires each time the PromptBox loses focus.
public PromptBoxEventBuilder Blur(string handler)
The name of the JavaScript function that will handle the Blur event.
Returns:Defines the handler of the FileRemove client-side event. Fires each time the user removes a file attachment.
public PromptBoxEventBuilder FileRemove(string handler)
The name of the JavaScript function that will handle the FileRemove event.
Returns:Defines the handler of the FileSelect client-side event. Fires each time the user selects files using the File Select button.
public PromptBoxEventBuilder FileSelect(string handler)
The name of the JavaScript function that will handle the FileSelect event.
Returns:Defines the handler of the Focus client-side event. Fires each time the PromptBox receives focus.
public PromptBoxEventBuilder Focus(string handler)
The name of the JavaScript function that will handle the Focus event.
Returns:Defines the handler of the Input client-side event. Fires each time the user types in the input field.
public PromptBoxEventBuilder Input(string handler)
The name of the JavaScript function that will handle the Input event.
Returns:Defines the handler of the InputBlur client-side event. Fires each time the internal input element loses focus.
public PromptBoxEventBuilder InputBlur(string handler)
The name of the JavaScript function that will handle the InputBlur event.
Returns:Defines the handler of the InputFocus client-side event. Fires each time the internal input element receives focus.
public PromptBoxEventBuilder InputFocus(string handler)
The name of the JavaScript function that will handle the InputFocus event.
Returns: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.
public PromptBoxEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the MultilineStateChange client-side event. Fires when the PromptBox transitions between single-line and multi-line states in auto mode.
public PromptBoxEventBuilder MultilineStateChange(string handler)
The name of the JavaScript function that will handle the MultilineStateChange event.
Returns: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.
public PromptBoxEventBuilder PromptAction(string handler)
The name of the JavaScript function that will handle the PromptAction event.
Returns:Defines the handler of the SpeechToTextClick client-side event. Fires each time the user clicks the Speech to Text button.
public PromptBoxEventBuilder SpeechToTextClick(string handler)
The name of the JavaScript function that will handle the SpeechToTextClick event.
Returns:Defines the handler of the SpeechToTextEnd client-side event. Fires when the speech recognition service disconnects.
public PromptBoxEventBuilder SpeechToTextEnd(string handler)
The name of the JavaScript function that will handle the SpeechToTextEnd event.
Returns:Defines the handler of the SpeechToTextError client-side event. Fires when a speech recognition error occurs.
public PromptBoxEventBuilder SpeechToTextError(string handler)
The name of the JavaScript function that will handle the SpeechToTextError event.
Returns:Defines the handler of the SpeechToTextResult client-side event. Fires when the speech recognition service returns a result.
public PromptBoxEventBuilder SpeechToTextResult(string handler)
The name of the JavaScript function that will handle the SpeechToTextResult event.
Returns:Defines the handler of the SpeechToTextStart client-side event. Fires when the speech recognition service begins listening.
public PromptBoxEventBuilder SpeechToTextStart(string handler)
The name of the JavaScript function that will handle the SpeechToTextStart event.
Returns:Defines the handler of the ValueChange client-side event. Fires when the value changes through user input (not programmatic changes).
public PromptBoxEventBuilder ValueChange(string handler)
The name of the JavaScript function that will handle the ValueChange event.
Returns: