New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Events
You can subscribe to the Change
, Select
, Open
, Close
, DataBound
, and Filtering
MultiColumnComboBox events and further customize the functionality of the component.
For a complete example on basic MultiColumnComboBox events, refer to the demo on using the events of the MultiColumnComboBox.
Handling Events by Handler Name
The following example demonstrates how to subscribe to events by a handler name.
Razor
@(Html.Kendo().MultiColumnComboBox()
.Name("multicolumncombobox")
.Events(e => e
.Change("onChange")
.Select("onSelect")
.Open("onOpen")
.Close("onClose")
.DataBound("onDataBound")
.Filtering("onFiltering")
)
)
Handling Events by Template Delegate
The following example demonstrates how to subscribe to events by a template delegate.
Razor
@(Html.Kendo().MultiColumnComboBox()
.Name("multicolumncombobox")
.Events(e => e
.Open(@<text>
function() {
// Handle the `open` event inline.
}
</text>)
.Close(@<text>
function() {
// Handle the `close` event inline.
}
</text>)
.Change(@<text>
function() {
// Handle the `change` event inline.
}
</text>)
.DataBound(@<text>
function() {
// Handle the `dataBound` event inline.
}
</text>)
.Select(@<text>
function() {
// Handle the `select` event inline.
}
</text>)
.Filtering(@<text>
function() {
// Handle the `filtering` event inline.
}
</text>)
)
)