This is a migrated thread and some comments may be shown as answers.

KendoUI window pop up error when closing the window

1 Answer 127 Views
Window
This is a migrated thread and some comments may be shown as answers.
rochelle
Top achievements
Rank 1
rochelle asked on 23 Aug 2013, 03:05 AM
 just need a little help here about displaying KendoUI window. My situation is I have a button that will call the window. At first click of button, the window dialog will appear but after closing the window by clicking the 'x' button I can't make it appear again by pressing the same button. I don't know where's my error.Here's my code:

<script type="text/javascript">

$(document).ready(function() {
$(".test").click(function (){
$("#window").kendoWindow({
actions: ["Refresh","Maximize","Minimize","Close"],
draggable: true,
height: "300px",
modal: true,
resizable: false,
title: "Purchase Order Supplier Detail",
width: "500px"
});
});
});
</script>

<div id="window" style="visibility: hidden;"></div>
<input type="button" class="test" value="test" />

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 23 Aug 2013, 03:28 PM
Hi Rochelle,

Please check this demo, showing exactly the same scenario:

http://demos.kendoui.com/web/window/actions.html

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
rochelle
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or