DialogEventBuilder
Defines the fluent API for configuring the Kendo Dialog for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DialogEventBuilder : EventBuilder
Inheritance: objectEventBuilderDialogEventBuilder
Inherited Members
Constructors
public DialogEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Close client-side event. Triggered when a Dialog is closed (by a user or through the close() method).
public DialogEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Defines the handler of the Hide client-side event. Triggered when a Dialog has finished its closing animation.
public DialogEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Defines the handler of the InitOpen client-side event. Triggered when a Dialog is opened for the first time (i.e. the open() method is called).
public DialogEventBuilder InitOpen(string handler)
The name of the JavaScript function that will handle the InitOpen event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Dialog is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public DialogEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Open client-side event. Triggered when a Dialog is opened (i.e. the open() method is called).
public DialogEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Defines the handler of the Show client-side event. Triggered when a Dialog has finished its opening animation.
public DialogEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns: