Reputation: 151
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"
});
});
Here is the window pop up which I have done.
Upvotes: 3
Views: 22290
Reputation: 40639
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();
});
Upvotes: 6