Click here to Skip to main content
12,078,259 members (48,716 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Ajax jQuery
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 25-Dec-12 18:45pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi,

In onClose(), please use the,

window.data("kendoWindow").close();
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160212.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100