Hi
I create a window, which I would like to destroy after closing, but I cannot get it to work.
I have found various hints in the forum, but if I implement them, the window keeps coming back after refreshing the screen (ie performing a feedback).
The code which I use to initialize the window is pretty standard:
The way to destroy the window is to perform the function destroy at deactivation, but where and how do I put this in my code?
KR
Henk Jelt Hoving
I create a window, which I would like to destroy after closing, but I cannot get it to work.
I have found various hints in the forum, but if I implement them, the window keeps coming back after refreshing the screen (ie performing a feedback).
The code which I use to initialize the window is pretty standard:
<script type="text/javascript"> $(document).ready(function () { $('#windows').css('z-index', 9000); $("#Payment").kendoWindow({ actions: [ "Maximize", "Minimize", "Close"], draggable: true, height: "600px", modal: false, resizable: true, title: "<%=ViewData("paymentenginetext")%><%= ViewData("invoicenr")%>", width: "810px" }); var kendoWindow = $("#Payment").data("kendoWindow"); kendoWindow.center(); }); </script>
The way to destroy the window is to perform the function destroy at deactivation, but where and how do I put this in my code?
KR
Henk Jelt Hoving