Currently to get the value of the selected item in the onSelect event I do this:
My MVC DropDownList value data is bound to the "AccountNumberId" field.
Is this the proper way to do it, or is there an easier .GetValue() I can call the the "e" passed to onSelect perhaps?
var onSelect = function (e) {
var dataItem = this.dataItem(e.item.index());
CCCOnline.changeAccount(dataItem.AccountNumberId);
};
$("#clientAcctsMenuKendo").data("kendoDropDownList").bind("select", onSelect);
My MVC DropDownList value data is bound to the "AccountNumberId" field.
Is this the proper way to do it, or is there an easier .GetValue() I can call the the "e" passed to onSelect perhaps?