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
In case of working with content loaded by ajax, the Petur Subev's answer is perfect! I´d like to give an example working with templates, that is more simple (whereas not all requests shoulb be by ajax). Consider the template below: