Using some examples I see in this forum, I am just trying to create a simple modal window on the fly via javascript. This is called from a JS function to create and open a new window that I can then refresh the content via an ajax post call. The line var win=... I get win = undefined. Clearly I'm missing something basic?
$('#windowX').kendoWindow({
width: "900px",
height: "500px",
title: "Add Temp Node",
visible: true,
modal: true,
resizable: true,
actions: ["Close"],
}).data('kendoWindow');
var win = $('#windowX').data('kendoWindow');
win.center().open();