OTPInputEventBuilder
Defines the fluent API for configuring the Kendo UI OTPInput for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class OTPInputEventBuilder : EventBuilder
Inheritance: objectEventBuilderOTPInputEventBuilder
Inherited Members
Constructors
Initializes a new instance of the OTPInputEventBuilder class.
public OTPInputEventBuilder(IDictionary<string, object> events)
The OTPInput event handlers.
Methods
Fired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.
public OTPInputEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current OTPInputEventBuilder instance.
Fired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.
public OTPInputEventBuilder Change(string handler)
The name of the JavaScript function that will handle the change event.
Returns:Returns the current OTPInputEventBuilder instance.
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the OTPInput is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public OTPInputEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of OTPInputEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the OTPInput is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public OTPInputEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of OTPInputEventBuilder .