I'm using a kendoWindow in an application that also contains several JQuery dialogs. Both the kendoWindow and JQuery dialogs use iframes,similar to the following:
<
div
id
=
"dialogSearchResults"
style
=
"display:none;"
>
<
iframe
id
=
"formviewSearchResults"
frameborder
=
"0"
scrolling
=
"yes"
width
=
"100%"
height
=
"100%"
></
iframe
>
</
div
>
<
div
id
=
"dialogPatrol"
style
=
"display:none;"
>
<
iframe
id
=
"formviewPatrol"
frameborder
=
"0"
scrolling
=
"yes"
width
=
"685"
height
=
"547"
></
iframe
>
</
div
>
// kendoWindow
$("#formviewSearchResults").attr('src', "dashboardSearchGrid.html");
var
searchResultsWindow = $("#dialogSearchResults");
searchResultsWindow.kendoWindow({
width: "815px",
height: "500px",
title: "Search Results",
actions: [ "Minimize", "Close" ],
});
searchResultsWindow.data("kendoWindow").open();
// JQuery dialog
$("#dialogPatrol").dialog({
dialogClass: 'no-close',
autoOpen: false,
position: 'center',
draggable: true,
width: 685,
height: 557,
resizable: false,
scrolling: true,
modal: false
});
$("#formviewPatrol").attr('src', "patrol.htm");
$("#dialogPatrol").dialog("open");
When I open the JQuery dialog when the kendoWindow is open, it causes the the iframe inside the kendoWindow to refresh. This only happens the first time the JQuery dialog is opened. If I close it, then re-open it, it doesn't cause the behavior. I've tried different configurations of modal versus non-modal, but nothing works. Any idea how to stop this behavior?
Thanks.