Hi,
I have created a kendoWindow with this code
function CustomerPopupEditor() {
$("#showCustomerEdit").append("<div id='window'></div>");
var myWindow = $("#window").kendoWindow({
width: "80%",
height: "47%",
title: "Customer",
content: "/Customer/CustomerEditor",
modal: true,
actions: [
"Close"
],
close: function (e) {
$("#window").empty();
}
}).data("kendoWindow");
myWindow.center().open();
}
and I am closing the window using this code
function CloseTheWindow() {
$("#window").data("kendoWindow").close();
}
this is called on a button click event, when I get this window open, it works fine, I click my Save button it closes it. However if I open it again and try to close it, the window won't close.
I am not sure if this is enough information or if I need to add more information.
Thanks