destroy

Destroys the Window and its modal overlay if necessary. Removes the HTML elements of the widget from the DOM.

Example

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.destroy();
</script>
In this article
Not finding the help you need? Improve this article