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

FileManagerUploadSettingsBuilder

Methods

Cancel(System.String)

Fires when the upload was cancelled while in progress. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Cancel(System.Func)

Fires when the upload was cancelled while in progress. Upload Events.

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Clear(System.Func)

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

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Complete(System.Func)

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

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Error(System.Func)

Fires when an upload or remove operation fails. Upload Events.

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Pause(System.Func)

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

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Progress(System.Func)

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

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

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. Upload Events.

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Remove(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires when a file is selected. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Select(System.Func)

Fires when a file is selected. Upload Events.

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Success(System.Func)

Fires when an upload or remove operation is completed successfully. Upload Events.

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. Upload Events.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Upload(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Async(System.Action)

Configures the asynchronous upload of files. For more details, refer to the article on the async mode of the Upload.

Parameters

configurator - System.Action<FileManagerUploadAsyncSettingsBuilder>

The configurator for the async setting.

Directory(System.Boolean)

Enables the selection of folders instead of files.

Parameters

value - System.Boolean

The value for Directory

Localization(System.Action)

Sets the strings rendered by the Upload.

Parameters

configurator - System.Action<FileManagerUploadLocalizationSettingsBuilder>

The configurator for the localization setting.

Multiple(System.Boolean)

Enables (if set to true) or disables (if set to false) the selection of multiple files. If set to false, the user can select only one file at a time.

Parameters

value - System.Boolean

The value for Multiple

ShowFileList(System.Boolean)

Enables (if set to true) or disables (if set to false) the display of a file listing for the file upload. The disabling of a file listing might be useful if you want to customize the UI. To build your own UI, use the client-side events.

Parameters

value - System.Boolean

The value for ShowFileList

Validation(System.Action)

Configures the validation options for uploaded files.

Parameters

configurator - System.Action<FileManagerUploadValidationSettingsBuilder>

The configurator for the validation setting.

In this article
Not finding the help you need?