New to Telerik UI for ASP.NET Core? Download free 30-day trial

Events

The Button exposes a Click() event that you can handle.

For a complete example on basic Button events, refer to the demo on using the events of the Button.

    @(Html.Kendo().Button()
        .Name("button")
        .Content("Sample Button")
        .Events(e => e.Click("onClick"))
    )
<kendo-button name="textButton"
              on-click="onClick">
    Sample Button
</kendo-button>
    <script>
        function onClick() {
            alert('Button clicked!')
            window.location.href = 'https://en.wikipedia.org/';
        }
    </script>

Next Steps

See Also

In this article