Hi..
I'm trying to open a window (with content from another php page ) from a grid .. the window opens, but only once ... when I try to open again does not work ... this is the code I'm using:
....line of grid calling a custom command....
{command: { text: "Dados de Registro", click: ShowPop}, title: " ", },
...the function to open the window...
function ShowPop()
{var myWin = $("#window");
if (!myWin.data("kendoWindow")) {
// window not yet initialized
myWin.kendoWindow({
content: 'elt.php',
title: "elt",
iframe: true,
width: "800px",
height: "400px",
scrollable: false,
visible: false
}).data("kendoWindow").center().open();
}
}
i don't know what to do...
tks
I'm trying to open a window (with content from another php page ) from a grid .. the window opens, but only once ... when I try to open again does not work ... this is the code I'm using:
....line of grid calling a custom command....
{command: { text: "Dados de Registro", click: ShowPop}, title: " ", },
...the function to open the window...
function ShowPop()
{var myWin = $("#window");
if (!myWin.data("kendoWindow")) {
// window not yet initialized
myWin.kendoWindow({
content: 'elt.php',
title: "elt",
iframe: true,
width: "800px",
height: "400px",
scrollable: false,
visible: false
}).data("kendoWindow").center().open();
}
}
i don't know what to do...
tks