I want to open a window within an iframe that because it needs its own print.css.
I don't know why, but I do not think it is actually using the iframe as it always changes the css in the main window. Am I just doing something wrong?
I am trying to use the following code:
I don't know why, but I do not think it is actually using the iframe as it always changes the css in the main window. Am I just doing something wrong?
I am trying to use the following code:
function ShowKendoIFrameWindow(element, data) { var title = $(element).attr("WindowCaption"); var url = $(element).attr("WindowURL"); $("<div />").kendoWindow({ iframe: true, animation: { open: { effects: { fadeIn: {} }, duration: 200, show: true }, close: { effects: { fadeOut: {} }, duration: 200, hide: true } }, content: { type: "POST", url: url, data: data }, title: title, draggable: true, modal: true, resizable: false, scrollable: false, refresh: function () { this.center(); } }).data("kendoWindow").center().open(); return false;}