Defines the fluent API for configuring the Kendo ImageEditor for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ImageEditorEventBuilder : EventBuilder
Inheritance: objectEventBuilderImageEditorEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ImageEditor class.
public ImageEditorEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the Error client-side event. Fired when an error happened with the image loading.
public ImageEditorEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Defines the handler of the Execute client-side event. Fired when a command is executed.
public ImageEditorEventBuilder Execute(string handler)
The name of the JavaScript function that will handle the Execute event.
Returns:Defines the handler of the ImageLoaded client-side event. Fired when image is loaded. Can prevent the image rendering by calling the preventDefault() method.
public ImageEditorEventBuilder ImageLoaded(string handler)
The name of the JavaScript function that will handle the ImageLoaded event.
Returns:Defines the handler of the ImageRendered client-side event. Fired when canvas is rendered with the image. This event is triggered by commands and when drawCanvas method is called.
public ImageEditorEventBuilder ImageRendered(string handler)
The name of the JavaScript function that will handle the ImageRendered event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the ImageEditor is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public ImageEditorEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns: