@(Html.Kendo().ComboBox() .Name("ddl" + @Model.objDllColl[i].MCLELDescription.Split(' ') [0].ToString()) //@Model.objDllColl[i].MCLELDescription.Split(' ')[0].ToString() .HtmlAttributes(new { style = "width: 200px;" }) .Events(e =>{ e.Select("filterProducts1");//.Open("onOpen"); }) .DataValueField("MCLECECode") .DataTextField("MCLELDescription") .DataSource(source =>{ source.Read(read => { read.Action("_Cluster", "Cluster", new { area = "" }) .Data("filterProducts");}) .ServerFiltering(true);}) .AutoBind(true) .ToClientTemplate() ) function filterProducts1(e) { debugger alert('ertera') var CEDCode = this.dataItem(e.item.index()).ValueField; //this.dataItem(e.item.index()).ValueField alert(CEDCode) }
var combobox = $("#COMBOBOXNAME").data("kendoComboBox"); combobox.value(); combobox.text()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)