Kendo UI弹出窗口 [英] Kendo UI Popup Window

查看:582
本文介绍了Kendo UI弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,这是另一回事。在处理KENDO POPUP窗口时,我遇到了一些错误。



单击链接窗口弹出窗口,关闭窗口时窗口关闭。但是当我点击链接再次获取窗口时它不会出现,如果它出现,那么窗口的大小就会减少。我需要一些小的指导才能在我的情况下解决这个小错误。



这是我的代码



$(#undo)。点击(功能(e) {

alert(+ count);

window = $(#window);

if(count == 0) {

alert(+ count);

window.kendoWindow({

宽度:400px,

身高:375px,

draggable:false,

动作:[最小化,最大化,关闭],

可调整大小:false,

标题:报告活动,

内容:../../AlertCounselor.htm,

关闭:onClose,

打开:恢复



});



window.data(kendoWindow)。open();

window.data(kendoWindow)。center();

}



});



函数onClose(){

count ++;

alert(+ count);

close();

}

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();
}

推荐答案

( #undo)。点击(功能(e){

alert(+ count);

window =
("#undo").click(function (e) {
alert("" + count);
window =

(#window);

if(count == 0){

alert(+ count);

window.kendoWindow({

宽度:400px,

身高:375px,

draggable:false,

动作:[最小化,最大化,关闭],

可调整大小:false,

标题:报告活动,

内容:../../AlertCounselor.htm,

关闭:onClose,

打开:恢复

$ / b $ b});



window.data(kendoWindow)。open();

window.data(kendoWindow)。center();

}



});



函数onClose(){

count ++;

alert(+ count);

close();

}
("#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();
}


您好,



在onClose()中,请使用,



window.data(kendoWindow)。close();
Hi,

In onClose(), please use the,

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


这篇关于Kendo UI弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆