Hello,
I'm creating an Kendo window with JavaScript and want to set the window title with a value from a Control from the
loaded Content in the refresh or activate Event - how to access Elements of the window Content?
$("<div id='win" + name + "' />").appendTo(document.body).kendoWindow({ title: stitle, actions: ["Close"], draggable: false, resizable: false, modal: true, animation: { open: { effects: "slideIn:left", duration: 500 }, close: { effects: "slideIn:left", reverse: true, duration: 500 }, }, visible: false, pinned: false, content: { url: surl, iframe: false }, refresh: function (e) { $.validator.unobtrusive.parse("form"); }, activate: function(e) { }, deactivate: function (e) { $(windowname).data("kendoWindow").destroy(); e.sender.destroy(); } }); var window = $(windowname).data("kendoWindow"); window.wrapper.addClass("gpdb-sidebar-window"); window.open();