Edit this page

initOpen

Triggered when a Dialog is opened for the first time (i.e. the open() method is called).

Example - subscribe to the "initOpen" event during initialization

<div id="dialog"></div>
<script>
$("#dialog").kendoDialog({
  initOpen: function() {
    // open animation will start soon
  }
});
</script>

Example - subscribe to the "initOpen" event after initialization

<div id="dialog" style="display: none;"></div>
<script>
function dialog_initOpen() {
  // open animation will start soon
}
$("#dialog").kendoDialog();
var dialog = $("#dialog").data("kendoDialog");
dialog.bind("initOpen", dialog_initOpen);
dialog.open();
</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