UploadEventBuilder
Defines the fluent interface for configuring the Upload events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class UploadEventBuilder : EventBuilder
Inheritance: objectEventBuilderUploadEventBuilder
Inherited Members
Constructors
Initializes a new instance of the UploadEventBuilder class.
public UploadEventBuilder(IDictionary<string, object> clientEvents)
The client events.
Methods
Defines the name of the JavaScript function that will handle the Cancel client-side event.
public UploadEventBuilder Cancel(string onCancelHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Clear client-side event.
public UploadEventBuilder Clear(string onClearHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Complete client-side event.
public UploadEventBuilder Complete(string onCompleteHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Error client-side event.
public UploadEventBuilder Error(string onErrorHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Pause client-side event.
public UploadEventBuilder Pause(string onPauseHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Progress client-side event.
public UploadEventBuilder Progress(string onProgressHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Remove client-side event.
public UploadEventBuilder Remove(string onRemoveHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Resume client-side event.
public UploadEventBuilder Resume(string onResumeHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Triggered when a file is selected. Note: Canceling this event will prevent the selection from\n\t\t/// occurring.
public UploadEventBuilder Select(string onSelectHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Success client-side event.
public UploadEventBuilder Success(string onSuccessHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Upload client-side event.
public UploadEventBuilder Upload(string onUploadHandlerName)
The name of the JavaScript function that will handle the event.
Returns: