FileManagerEventBuilder

Methods

Fired when navigation occurs.

For more information see Navigate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the navigate event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Navigate("onNavigate")
                    ) 
                )
             

Fired when navigation occurs.

For more information see Navigate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Navigate(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Select(System.String)

Fired when selection changes.

For more information see Select event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the select event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Select("onSelect")
                    ) 
                )
             

Select(System.Func)

Fired when selection changes.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Select(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Open(System.String)

Fired when a file is opened (with double click).

For more information see Open event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the open event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Open("onOpen")
                    ) 
                )
             

Open(System.Func)

Fired when a file is opened (with double click).

For more information see Open event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Open(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Execute(System.String)

Fired when a command is executed.

For more information see Execute event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the execute event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Execute("onExecute")
                    ) 
                )
             

Execute(System.Func)

Fired when a command is executed.

For more information see Execute event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Execute(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Error(System.String)

Fired when a error in the DataSource happen.

For more information see Error event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the error event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Error("onError")
                    ) 
                )
             

Error(System.Func)

Fired when a error in the DataSource happen.

For more information see Error event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Error(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

DataBinding(System.String)

Fired before the widget binds to its data source.

For more information see DataBinding event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dataBinding event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .DataBinding("onDataBinding")
                    ) 
                )
             

DataBinding(System.Func)

Fired before the widget binds to its data source.

For more information see DataBinding event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.DataBinding(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

DataBound(System.String)

Fired when the widget is bound to data from its data source.

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the dataBound event.

Example

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

DataBound(System.Func)

Fired when the widget is bound to data from its data source.

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.DataBound(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Drop(System.String)

Fired when a file is dragged and dropped over a folder.

For more information see Drop event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the drop event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Drop("onDrop")
                    ) 
                )
             

Drop(System.Func)

Fired when a file is dragged and dropped over a folder.

For more information see Drop event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Drop(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )
             

Command(System.String)

Fired when server command is executed (copy, move, delete or rename).The event is useful to get feedback when server commands has failed or succeeded and take additional actions based on the status.

For more information see Command event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the command event.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(events => events
                        .Command("onCommand")
                    ) 
                )
             

Command(System.Func)

Fired when server command is executed (copy, move, delete or rename).The event is useful to get feedback when server commands has failed or succeeded and take additional actions based on the status.

For more information see Command event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example

Razor
 
                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Events(e => e.Command(
                             @<text>
                                function(e){
                                    event handling code
                                }
                             </text>
                    ))
                )