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({
  title: "Kendo Dialog Component",
  content: "This is your Kendo Dialog.",
  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({
  title: "Kendo Dialog Component",
  content: "This is your Kendo Dialog."
});
var dialog = $("#dialog").data("kendoDialog");
dialog.bind("initOpen", dialog_initOpen);
dialog.open();
</script>
In this article