New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring the Kendo UI RangeSlider for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the RangeSliderEventBuilder class.

C#
public RangeSliderEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The RangeSlider event handlers.

Methods

Defines the handler of the Change client-side event. Fires when the RangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard.

C#
public RangeSliderEventBuilder Change(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

RangeSliderEventBuilder

Returns the current instance of RangeSliderEventBuilder .

Defines the handler of the Change client-side event. Fires when the RangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard.

C#
public RangeSliderEventBuilder Change(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Change event.

Returns:

RangeSliderEventBuilder

Returns the current instance of RangeSliderEventBuilder .

Defines the handler of the Slide client-side event. Fires when the user drags the drag handle to a new position.

C#
public RangeSliderEventBuilder Slide(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

RangeSliderEventBuilder

Returns the current instance of RangeSliderEventBuilder .

Defines the handler of the Slide client-side event. Fires when the user drags the drag handle to a new position.

C#
public RangeSliderEventBuilder Slide(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Slide event.

Returns:

RangeSliderEventBuilder

Returns the current instance of RangeSliderEventBuilder .