Events
The SplitButton exposes a Click()
event that you can handle.
For a complete example on basic SplitButton events, refer to the demo on using the events of the SplitButton.
@(Html.Kendo().SplitButton()
.Name("sampleSplitButton")
.Text("Sample Split Button")
.Events(ev => ev.Click("onClick"))
.Items(items =>
{
items.Add().Id("item1").Text("Action 1");
items.Add().Id("item2").Text("Action 2");
}
)
)
<script>
function onClick() {
alert('SplitButton clicked!')
}
</script>