var kendoWindow = $("#window").data("kendoWindow");
The kendowWindow object contains the content of the window, and that is contained inside another div which has the window bar.
8 Answers, 1 is accepted
Yes the approach you are mentioning will work. An alternative approach is:
the Telerik team
here is another option:
then you can add needed parameters into css:
Hello Markosyan Artur,
Thanks for sharing the approach. Have a great day!Regards,
To display the Windows one after the other set their position.top configuration option, as demonstrated in this example:
My requirement doesn't allow me to set positions of the kendo window as I am loading multiple partial pages on 1 page and I don't have control over the partial page contents. What I have control is only on the ordering of loading of these pages. Kendo Grid and others seems to work well i.e. they order themselves in the div's automatically. But, kendo Window is not behaving the same way. It is always creating a separate div at the end of the page which is not expected. Any idea why this separate div is getting created.
As discussed in the support ticket, the Window's div element can be appended to another element with the appendTo option: https://dojo.telerik.com/eNUbUleJ
This allows you to display multiple Windows one after the other without setting their position configuration option.