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

Events

The Telerik UI FileManager for ASP.NET MVC exposes multiple events that allow you to control and customize the behavior of the UI component.

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

Handling by Handler Name

The following example demonstrates how to subscribe to events by a handler name.

    @(Html.Kendo().FileManager().Name("filemanager")
        .Events(events => events.DataBound("onDataBound"))
    )


    <script>
        function onDataBound(e) {
            // Handle the DataBound event.
        }
    </script>

Handling by Template Delegate

The following example demonstrates how to subscribe to events by using a template delegate.

    @(Html.Kendo().FileManager().Name("filemanager")
        .Events(events => events.DataBound(@<text>
            function onDataBound(e){
                // Handle the DataBound event inline.
            }
        </text>))
    )

Next Steps

See Also

In this article