Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: AjaxjQuery
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 437
1 sanket saxena 355
2 thatraja 240
3 Abhinav S 216
4 CPallini 215
0 Sergey Alexandrovich Kryukov 8,784
1 OriginalGriff 5,025
2 Peter Leow 3,839
3 Maciej Los 3,535
4 Er. Puneet Goel 3,107


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