EditorEventBuilder
Defines the fluent interface for configuring the Editor events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorEventBuilder : EventBuilder
Inheritance: objectEventBuilderEditorEventBuilder
Inherited Members
Constructors
Initializes a new instance of the EditorEventBuilder class.
public EditorEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the Change client-side event. Fires when Editor is blurred and its content has changed.
public EditorEventBuilder Change(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the handler of the Execute client-side event. Fires when an Editor command is executed.
public EditorEventBuilder Execute(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the inline handler of the KeyDown client-side event. Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down.
Defines the handler of the KeyDown client-side event. Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down.
public EditorEventBuilder KeyDown(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the handler of the KeyUp client-side event. Fires when the user releases a keyboard key.
public EditorEventBuilder KeyUp(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the handler of the Paste client-side event. Fires before the content is pasted in the Editor.
public EditorEventBuilder Paste(string handler)
The name of the JavaScript function that will handle the event.
Returns:Defines the handler of the Select client-side event. Fires when the Editor selection has changed.
public EditorEventBuilder Select(string handler)
The name of the JavaScript function that will handle the event.
Returns: