Edit this page

close

Closes a Dialog.

Returns

kendo.ui.Dialog Returns the dialog object to support chaining.

Example - close a dialog after one second

<div id="dialog"></div>
<script>
$("#dialog").kendoDialog();
var dialog = $("#dialog").data("kendoDialog");
setTimeout(function() {
  dialog.close();
}, 1000);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy