3

I have pop up the Kendo Window. But it pops up only on first time.

And after closing the window it doesn't works again.

$("#open1").click(function() {
    $("#win1").show().kendoWindow({
        width: "300px",
        height: "100px",
        modal: true,
        title: "Window 1"
    });
});

Demo

Here is the window pop up which I have done.

4

1 回答 1

6

Try to use visible: false from docs like,

$("#win1").kendoWindow({
    width: "300px",
    height: "100px",
    modal: true,
    title: "Window 1",
    visible: false
});
$("#open1").click(function () {
    $("#win1").data("kendoWindow").open();
});

Working Demo

于 2013-10-31T10:22:07.287 回答