setOptions

Allows the Window to be configured with new options.

If you change the content url, call refresh afterwards. Another option is to directly execute the refresh method with the new URL.

Changing the size or the position of the Window is possible only if the widget is not maximized or minimized.

Parameters

options Object

The configuration options that will be set.

Example - setting new dimensions to the Window

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.setOptions({
  width: 180,
  height: 225
});
</script>
In this article