Why Kendo DropDownList can not be initialized by json result from controller action
问题 I have a Kendo DropDownlist as follow <%= Html.Kendo().DropDownList() .Name("AssignDisciplineId") .DataSource(dataSource => { dataSource.Read(read => { read.Action("DisciplinesBySportAjax","Shared").Data("onDisciplinesBySportData"); }); }) .Events(events => events .Change("onAssignDisciplineComboChanged") ) .HtmlAttributes(new { style = "font-size:8pt;" }) %> function onDisciplinesBySportData(e) { var sportId = $('#AssignSportsId').data('kendoDropDownList').value(); return { sportId: sportId