New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Events
You can subscribe to all DropDownTree events and then use them to further customize the behavior of the control.
For an example on basic DropDownTree events, refer to the demo on using the events of the DropDownTree.
Razor
@(Html.Kendo().DropDownTree()
.Name("dropdowntree")
.DataTextField("Name")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("Employees", "Home")
)
)
.Events(events => events
.DataBound("onDataBound")
.Change("onChange")
.Select("onSelect")
.Close("onClose")
.Open("onOpen")
.Filtering("onFiltering")
)
)