stp
stp

Reputation: 147

Kendo dropdownlist doesn't bind the selected value when done through javascript

js fiddle here - http://jsfiddle.net/9xj8huj9/1/

$("#Instrument").data("kendoDropDownList").bind('change',function (dataItem) {
        alert("Data Binded");
    });

Somehow, when the value of the dropdownlist is set dynamically when the button is clicked, data isn't binded.

Any idea how to bind the data here?

Upvotes: 1

Views: 886

Answers (1)

Amar Kamthe
Amar Kamthe

Reputation: 2582

You need to trigger the change event

JSFiddle

Upvotes: 1

Related Questions