I could successfully open a Kendo Window by clicking on the menu.
My requirement is like, if I click on a button on this window, it should dynamically create an iframe and append to a div and append this new div to the parent container and show as a new window just like I open it from the menu.
I could successfully add the iframe and div to the parent, but when I open the window, its open inside the the window where I am and not from the parent container. My code is as below:
$("#btn").click(function () {
var k = "<div id='kk'><iframe style='height:600px;width:900px'></div>";
$("#menuDiv", parent.document).append(k);
$("#kk", parent.document).kendoWindow();
});