Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hellow everyone this is sohaib ameen here again. I am getting little mistake while dealing with KENDO POPUP window.

on clicking Link window popups and on closing it windows goes off. but when I click on link to get the window again it does not come, if it comes then size of the window is reduced.I need minor guidence to resolve this minor error in my condition.

here is my code

$("#undo").click(function (e) {
alert("" + count);
window = $("#window");
if (count == 0) {
alert("" + count);
window.kendoWindow({
width: "400px",
height: "375px",
draggable: false,
actions: ["Minimize", "Maximize", "Close"],
resizable: false,
title: "Report Activity",
content: "../../AlertCounselor.htm",
close: onClose,
open: Resume

});

window.data("kendoWindow").open();
window.data("kendoWindow").center();
}

});

function onClose() {
count++;
alert("" + count);
close();
}
Posted

1 solution

Hi,

In onClose(), please use the,

window.data("kendoWindow").close();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900