Click here to Skip to main content
Rate this: bad
good
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 17: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
0 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 329
3 Sergey Alexandrovich Kryukov 290
4 CPallini 219
0 OriginalGriff 697
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 495
3 thatraja 370
4 Sergey Alexandrovich Kryukov 344


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2014
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