Say I have a typical declaration like this:
@(Html.Kendo().ComboBox().Name("cb")
.DataTextField("Name")
.DataValueField("ID")
.DataSource(source => {
source.Read(read => {
read.Action("GetTest", "Home");
})
.ServerFiltering(true);
}).Events(e => e.Change("onCBChange"))
How does the syntax look for replacing that e.Change("onCBChange") with an anonymous function? I'm thinking something like this, but I can't seem to get it right
.Events(e => e.Change {
function(f) {
alert("here!");
} )