答案 0 :(得分:0)
我可以通过使用kendo数据属性并使用open函数定位窗口来使其工作:
function ImClicked(e) {
//alert(e.target.text() + " is clicked");
var item = $("#showMyWindow"),
wnd = item.data("kendoWindow");
item.kendoWindow({
width: "505px",
height: "315px",
title: "Hey I'm a Title",
content: "Howdy, I'm a winda",
modal: true,
actions: [
"Close"
],
close: function (e) {
$("#showMyWindow").empty();
}
}).data("kendoWindow").center();
wnd.open();
};
在此Telerik论坛帖子中找到此解决方案: http://www.telerik.com/forums/window-only-opens-once