I\'m using Kendo UI\'s window component, which is similar to any modal dialog.
I have a close button in it, how do I close the window upon clicking that button (instead
there is an event in kendo ui for this it should be something like this
$("#idofyourbutton").click(function () { $("#window").data("kendoWindow").close(); });