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