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

Defines the fluent API for configuring the Kendo FileManager for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the FileManager class.

C#
public FileManagerEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the handler of the Command client-side event. 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.

C#
public FileManagerEventBuilder Command(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.

C#
public FileManagerEventBuilder DataBinding(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.

C#
public FileManagerEventBuilder DataBound(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Drop client-side event. Fired when a file is dragged and dropped over a folder.

C#
public FileManagerEventBuilder Drop(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Error client-side event. Fired when a error in the DataSource happen.

C#
public FileManagerEventBuilder Error(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Execute client-side event. Fired when a command is executed.

C#
public FileManagerEventBuilder Execute(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FileManager is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public FileManagerEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Navigate client-side event. Fired when navigation occurs.

C#
public FileManagerEventBuilder Navigate(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Open client-side event. Fired when a file is opened (with double click).

C#
public FileManagerEventBuilder Open(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder

Defines the handler of the Select client-side event. Fired when selection changes.

C#
public FileManagerEventBuilder Select(string handler)
Parameters:handlerstring

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

Returns:

FileManagerEventBuilder