New to Kendo UI for jQueryStart a free 30-day trial

Modal

configuration

Specifies whether the dialog should show a modal overlay over the page.

Boolean|Object

Default: true

<div id="dialog"></div>
<script>
$("#dialog").kendoDialog({
  title: "Kendo Dialog Component",
  content: "This is your Kendo Dialog.",
  modal: true
});
</script>

Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting.

Default: false

<div id="dialog"></div>
<script>
$("#dialog").kendoDialog({
  title: "Kendo Dialog Component",
  content: "This is your Kendo Dialog.",
  modal: {
      preventScroll: true
  }
});
</script>
In this article
modalmodal.preventScroll
Not finding the help you need?
Contact Support