Can you add a modal background to a Kendo window?

Hello-World picture Hello-World · Jan 8, 2014 · Viewed 7.2k times · Source

Using kendo ui, and using the window UI WIDGET, http://demos.kendoui.com/web/window/index.html

Is it possible to add a modal background in light grey color like you can in Jquery ui dialog http://jqueryui.com/dialog/#modal ?

Is it possible to make the background non-clickable ?

Answer

Lars Höppner picture Lars Höppner · Jan 8, 2014

Simply use the modal configuration option:

$("#dialog").kendoWindow({
    modal: true
});

You can adjust the color by overriding the CSS if necessary.