Edit this page

open

Fires when the popup opens

Event Data

e.sender kendo.ui.Popup

The widget instance which fired the event.

Example - subscribe to the "open" event during initialization

<div id="popup">CONTENT</div>
<script>
$("#popup").kendoPopup({
    open: function(e) {
        e.preventDefault(); //prevent popup opening
    }
}).data("kendoPopup").open();
</script>

Example - subscribe to the "open" event after initialization

<div id="popup">CONTENT</div>
<script>
$("#popup").kendoPopup();

var popup = $("#popup").data("kendoPopup");

popup.bind("open", function(e) {
    e.preventDefault(); //prevent popup opening
});

popup.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