SliderEventBuilder
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().Slider()
.Name("Slider")
.Events(events => events.Change(@<text>
function(e) {
// Handle the Change event inline.
}
</text>)
)
)
Change(System.String)
Defines the name of the JavaScript function that will handle the the Change 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().Slider()
.Name("Slider")
.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().Slider()
.Name("Slider")
.Events(events => events.Slide(@<text>
function(e) {
// Handle the Slide event inline.
}
</text>)
)
)
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().Slider()
.Name("Slider")
.Events(events => events.Slide("slide"))
)