Dropdownlist change event

2 posts, 0 answers
  1. Chris
    Chris avatar
    38 posts
    Member since:
    Feb 2012

    Posted 02 Apr 2012 Link to this post

    Hi,

    I'm currently working with a Dropdownlist and I'd like to access the change event via MVVM and fire an AJAX call whenever the value of the Dropdown changes.

    Currently
    data-bind="event: { change: changeEvent }"

    does not work and says the binding is unsupported by the dropdown list. I've got changeEvent setup correctly in my MVVM. Do I need to setup a custom handler for this? In Knockout I could achieve the following result by using a computed observable, or adding a listener on the dropdown value observable.

    Any suggestions on the Kendo way of achieving my goal?
  2. Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 02 Apr 2012 Link to this post

    Hello Chris,

    Our MVVM events binding is called events. Therefore, could you please change the event to events. 

    Greetings,
    Rosen
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top