I am trying to get a value and use it to change a label.
All the examples I have found in documentation include only
the html helper version
I am using the tag helpers and can’t figure out how to do
it.
I tried this:
<script>
function
onSelect(e) {
alert(e.item.Text);
}
</script>
<
kendo-dropdownlist
name
=
"DocumentTypes"
on-select
=
"onSelect"
for
=
"GovIdTypeID"
class
=
"jProfileMod"
datatextfield
=
"Name"
datavaluefield
=
"Id"
bind-to
=
"Model.GovIdTypes"
cascade-from
=
"CountryID"
cascade-from-field
=
"IssuingCountry.Id"
></
kendo-dropdownlist
>
But it is not working.