Kendo.Mvc.UI.Fluent.UploadEventBuilder

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

Methods

Cancel(System.String)

Fires when the upload was cancelled while in progress.

For additional information check the cancel event documentation.

Parameters

handler System.String

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

Cancel(System.Func<System.Object,System.Object>)

Fires when the upload was cancelled while in progress.

For additional information check the cancel event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Clear(System.String)

Fires when the files are cleared by clicking on the Clear button.

For additional information check the clear event documentation.

Parameters

handler System.String

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

Clear(System.Func<System.Object,System.Object>)

Fires when the files are cleared by clicking on the Clear button.

For additional information check the clear event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Complete(System.String)

Fires when all active uploads complete—either successfully or with errors.

For additional information check the complete event documentation.

Parameters

handler System.String

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

Complete(System.Func<System.Object,System.Object>)

Fires when all active uploads complete—either successfully or with errors.

For additional information check the complete event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Error(System.String)

Fires when an upload or remove operation fails.

For additional information check the error event documentation.

Parameters

handler System.String

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

Error(System.Func<System.Object,System.Object>)

Fires when an upload or remove operation fails.

For additional information check the error event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Pause(System.String)

Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set.

For additional information check the pause event documentation.

Parameters

handler System.String

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

Pause(System.Func<System.Object,System.Object>)

Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set.

For additional information check the pause event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Progress(System.String)

Fires when the data about the progress of the upload is available.

For additional information check the progress event documentation.

Parameters

handler System.String

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

Progress(System.Func<System.Object,System.Object>)

Fires when the data about the progress of the upload is available.

For additional information check the progress event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Resume(System.String)

Fires when the files are resumed through clicking the Resume button. The button is visible if chunksize is set and the file upload is paused.

For additional information check the resume event documentation.

Parameters

handler System.String

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

Resume(System.Func<System.Object,System.Object>)

Fires when the files are resumed through clicking the Resume button. The button is visible if chunksize is set and the file upload is paused.

For additional information check the resume event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Remove(System.String)

Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented.

For additional information check the remove event documentation.

Parameters

handler System.String

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

Remove(System.Func<System.Object,System.Object>)

Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented.

For additional information check the remove event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires when a file is selected.

For additional information check the select event documentation.

Parameters

handler System.String

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

Select(System.Func<System.Object,System.Object>)

Fires when a file is selected.

For additional information check the select event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Success(System.String)

Fires when an upload or remove operation is completed successfully.

For additional information check the success event documentation.

Parameters

handler System.String

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

Success(System.Func<System.Object,System.Object>)

Fires when an upload or remove operation is completed successfully.

For additional information check the success event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Upload(System.String)

Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload.

For additional information check the upload event documentation.

Parameters

handler System.String

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

Upload(System.Func<System.Object,System.Object>)

Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload.

For additional information check the upload event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.