or
<script type=
"text/javascript"
>
$(document).ready(
function
() {
var
window = $(
"#window"
);
if
(!window.data(
"kendoWindow"
)) {
window.kendoWindow({
actions: [
"Refresh"
,
"Maximize"
,
"Minimize"
,
"Close"
],
content:
"/ReportType/Create"
,
title:
"Create a New ReportType"
,
modal:
true
,
visible:
false
});
}
});
$(
"#createButton"
).click(
function
() {
var
window = $(
"#window"
).data(
"kendoWindow"
);
window.center();
window.open();
});