title: Kendo UI Button - on click event
body: <p>I'm trying to find a way to set the click event for the kendo button.
  The default action is to refresh page which I want to get rid of.</p>
  
  <p>I want to close the current window when the button is pressed.
  I'm working on ASP.NET MVC and using html helper to add the button.</p>
  
  <pre><code>        @(Html.Kendo().Button()
                  .Name("closeFormBtn")
                  .Content("Close")
                  .Events(events =&gt; events
                      .Click("closeForm"))
          )
  </code></pre>
  
  <p>Unfortunately the above click event doesn't work and the default refresh action is applied every time a button is pressed.
  The closeForm script works ok as it has already been tested.
  I'm also trying to find a way of not using script at all, just to insert code inside the Click(" ") event.</p>