i have two html (main.html and submission.html), but when i tried to open a kendo window to window.parent (main.html) and create a kendo dropdownlist from the kendo window and pass datasource to the dropdownlist, but it will have error
main.html
<div><iframe id="iframeContent" src="submission.html"></iframe></div>
submission.html
<script type="text/template">
window.parent.$("<div>").kendoWindow().content("<div id="dropdownlist"></div>").center().open();
window.parent.$("#dropdownlist").kendoDropDownList({
dataSource: [ { id: "1", name: "123" } ],
dataTextField: "name",
dataValueField: "id",
optionLabel: "-- Please Select --"
})
</script>