Hi,
I use a cascade drop down list, and it's working fine... but now, I try to use that dropdownlist inside my popup editor, but it does not work.. Is there any way to do that?
Here is my custom popup editor:
And this is part of my cascade dropDownList:
Obs: I apologise for any mistakes in my english!
Thankz!
I use a cascade drop down list, and it's working fine... but now, I try to use that dropdownlist inside my popup editor, but it does not work.. Is there any way to do that?
Here is my custom popup editor:
<script id=
"popup_editor"
type=
"text/x-kendo-template"
>
<div class=
"k-edit-label"
>
<label
for
=
"idState"
>State</label>
</div>
<input id=
"dropDownListState"
name=
"IdState"
>
</script>
$(
"#dropDownListState"
+ id).kendoDropDownList({
dataSource: {
transport:
{
read:
{
type:
"GET"
,
url:
function
() {
return
RecebimentoRoutes.LoadState()},
contentType:
'application/json; charset=utf-8'
}
}
},
dataTextField:
"Text"
,
dataValueField:
"Value"
,
change:
function
() {
value =
this
.value();
CityDataSource.filter({
field:
"Value"
,
operator:
"eq"
,
value: parseInt(value)
});
listCity.enable();
}
}).data(
"kendoDropDownList"
);
Obs: I apologise for any mistakes in my english!
Thankz!