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


The Telerik UI ListView for ASP.NET MVC exposes a number of JavaScript events that allow you to control the behavior of the UI component.

For a complete example of how to handle all ListView events triggered by user interaction, refer to the demo on using the events of the ListView .

Subscribing to Events

The following example demonstrates how to subscribe to the DataBound event.

    .DataSource(dataSource => dataSource
            .Read(read => read.Action("Products_Read", "ListView"))
        .Pageable(pageable => pageable
           .PageSizes(new[] { 5, 15, 21 })
        function onDataBound(e){
            var listview = $("#listView").data("kendoListView");
            listview.setOptions({selectable: "single"});  // Turn on the selectable mode of the ListView.
  ; // Select the first item.

Next Steps

See Also

In this article