refresh
Triggered when the content of a Window has finished loading via Ajax, when the Window iframe
has finished loading, or when the Refresh button has been clicked on a Window with static content.
Example - subscribing to the refresh event during initialization
<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
refresh: function() {
// new content has been fetched
}
});
</script>
Example - subscribing to the refresh event after initialization
<div id="dialog"></div>
<script>
function window_refresh() {
// new content has been fetched
}
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("refresh", window_refresh);
</script>