Defines the fluent API for configuring the Kendo UI FileManager for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerEventBuilder : EventBuilder
Inheritance: objectEventBuilderFileManagerEventBuilder
Inherited Members
Constructors
Initializes a new instance of the FileManagerEventBuilder class.
public FileManagerEventBuilder(IDictionary<string, object> events)
The FileManager event handlers.
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.
public FileManagerEventBuilder Command(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
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.
public FileManagerEventBuilder Command(string handler)
The name of the JavaScript function that will handle the Command event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.
public FileManagerEventBuilder DataBinding(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.
public FileManagerEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.
public FileManagerEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.
public FileManagerEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Drop client-side event. Fired when a file is dragged and dropped over a folder.
public FileManagerEventBuilder Drop(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Drop client-side event. Fired when a file is dragged and dropped over a folder.
public FileManagerEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Error client-side event. Fired when a error in the DataSource happen.
public FileManagerEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Error client-side event. Fired when a error in the DataSource happen.
public FileManagerEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Execute client-side event. Fired when a command is executed.
public FileManagerEventBuilder Execute(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Execute client-side event. Fired when a command is executed.
public FileManagerEventBuilder Execute(string handler)
The name of the JavaScript function that will handle the Execute event.
Returns:Returns the current instance of 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.
public FileManagerEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of 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.
public FileManagerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Navigate client-side event. Fired when navigation occurs.
public FileManagerEventBuilder Navigate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Navigate client-side event. Fired when navigation occurs.
public FileManagerEventBuilder Navigate(string handler)
The name of the JavaScript function that will handle the Navigate event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Open client-side event. Fired when a file is opened (with double click).
public FileManagerEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Open client-side event. Fired when a file is opened (with double click).
public FileManagerEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Select client-side event. Fired when selection changes.
public FileManagerEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of FileManagerEventBuilder .
Defines the handler of the Select client-side event. Fired when selection changes.
public FileManagerEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of FileManagerEventBuilder .