Opened a Dropdownlist in window.parent Error

1 Answer 23 Views
DropDownList Window
jt
Top achievements
Rank 1
jt asked on 28 Oct 2023, 11:55 PM

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>

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 01 Nov 2023, 12:55 PM

Hello,

Could you please try the latest Kendo Version (2023.3.1010) to see if the issue still persists? We've had a similar report several months ago and the dev team made changes in the code to handle such a case. 

If the issue still persists with the latest version, kindly provide a runnable example so that we can investigate the issue.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
DropDownList Window
Asked by
jt
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or