Two Modal Kendo Windows
by David Underwood
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.default.min.css">
<script src="http://cdn.kendostatic.com/2012.1.322/js/kendo.all.min.js"></script>
<button type="button" id="open1">Open first Window</button>
<div id="win1">
<p>First Window</p>
<button type="button" id="open2">Open second Window</button>
</div>
JavaScript
$("#win1").kendoWindow({
width: "300px",
height: "100px",
modal: true,
title: "Window 1",
visible: false,
actions: [],
position: center
});
$("#open1").click(function () {
$("#win1").data("kendoWindow").open();
});