Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Switch change event not fireing

$
0
0
Hi Alan,

You can try using the Kendo UI MVC Helpers, for example: 
@(Html.Kendo().MobileSwitch()
    .Name("switch")
    .Events(events => events.Change("switchChange"))
)
 
<script>
    function switchChange(e) {
        console.log("switch value was changed to " + (e.checked ? "checked" : "unchecked"));
    }
</script>


Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>