New to Telerik UI for ASP.NET Core? Download free 30-day trial

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 more information see Cancel event.

Parameters

handler - System.String

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

Cancel(System.Func)

Fires when the upload was cancelled while in progress.

For more information see Cancel event.

Parameters

handler - System.Func<Object,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 more information see Clear event.

Parameters

handler - System.String

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

Clear(System.Func)

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

For more information see Clear event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Complete(System.String)

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

For more information see Complete event.

Parameters

handler - System.String

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

Complete(System.Func)

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

For more information see Complete event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Error(System.String)

Fires when an upload or remove operation fails.

For more information see Error event.

Parameters

handler - System.String

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

Error(System.Func)

Fires when an upload or remove operation fails.

For more information see Error event.

Parameters

handler - System.Func<Object,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 more information see Pause event.

Parameters

handler - System.String

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

Pause(System.Func)

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

For more information see Pause event.

Parameters

handler - System.Func<Object,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 more information see Progress event.

Parameters

handler - System.String

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

Progress(System.Func)

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

For more information see Progress event.

Parameters

handler - System.Func<Object,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 more information see Resume event.

Parameters

handler - System.String

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

Resume(System.Func)

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 more information see Resume event.

Parameters

handler - System.Func<Object,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 more information see Remove event.

Parameters

handler - System.String

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

Remove(System.Func)

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

For more information see Remove event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires when a file is selected.

For more information see Select event.

Parameters

handler - System.String

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

Select(System.Func)

Fires when a file is selected.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Success(System.String)

Fires when an upload or remove operation is completed successfully.

For more information see Success event.

Parameters

handler - System.String

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

Success(System.Func)

Fires when an upload or remove operation is completed successfully.

For more information see Success event.

Parameters

handler - System.Func<Object,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 more information see Upload event.

Parameters

handler - System.String

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

Upload(System.Func)

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

For more information see Upload event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?