New to Telerik UI for ASP.NET MVC? Download free 30-day trial

RangeSliderEventBuilder

Methods

Change(System.Func)

Defines the inline handler of the Change client-side event

For more information see Change event.

Parameters

handlerName - System.Func<Object,Object>

The action defining the inline handler.

Example


             @( Html.Kendo().RangeSlider()
                       .Name("RangeSlider")
                       .Events(events => events.Change(() =>
                       {
                            )
                            function(e) {
                                //event handling code
                            }
                            @(
                       }))
                       .Render();
            )

Change(System.String)

Defines the name of the JavaScript function that will handle the the Kendo client-side event.

For more information see Change event.

Parameters

handlerName - System.String

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

Example


             @( Html.Kendo().RangeSlider()
                        .Name("RangeSlider")
                        .Events(events => events.Change("change"))
            )

Slide(System.Func)

Defines the inline handler of the Slide client-side event.

For more information see Slide event.

Parameters

handlerName - System.Func<Object,Object>

The action defining the inline handler.

Example


             @( Html.Kendo().RangeSlider()
                       .Name("RangeSlider")
                       .Events(events => events.Slide(() =>
                       {
                            )
                            function(e) {
                                //event handling code
                            }
                            @(
                       }))
                       .Render();
            )

Slide(System.String)

Defines the name of the JavaScript function that will handle the the Slide client-side event.

For more information see Slide event.

Parameters

handlerName - System.String

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

Example


             @( Html.Kendo().RangeSlider()
                        .Name("RangeSlider")
                        .Events(events => events.Slide("slide"))
            )

In this article
Not finding the help you need?