FileManagerUploadSettingsBuilder
Methods
Cancel(System.Func)
Fires when the upload was cancelled while in progress. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the cancel action.
Cancel(System.String)
Fires when the upload was cancelled while in progress. Upload Events.
Parameters
handler - System.String
The value that configures the cancel action.
Clear(System.Func)
Fires when the files are cleared by clicking on the Clear button. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the clear action.
Clear(System.String)
Fires when the files are cleared by clicking on the Clear button. Upload Events.
Parameters
handler - System.String
The value that configures the clear action.
Complete(System.Func)
Fires when all active uploads complete—either successfully or with errors. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the complete action.
Complete(System.String)
Fires when all active uploads complete—either successfully or with errors. Upload Events.
Parameters
handler - System.String
The value that configures the complete action.
Error(System.Func)
Fires when an upload or remove operation fails. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the error action.
Error(System.String)
Fires when an upload or remove operation fails. Upload Events.
Parameters
handler - System.String
The value that configures the error action.
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 value that configures the pause action.
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 value that configures the pause action.
Progress(System.Func)
Fires when the data about the progress of the upload is available. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the progress action.
Progress(System.String)
Fires when the data about the progress of the upload is available. Upload Events.
Parameters
handler - System.String
The value that configures the progress action.
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 value that configures the resume action.
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 value that configures the resume action.
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 value that configures the remove action.
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 value that configures the remove action.
Select(System.Func)
Fires when a file is selected. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the select action.
Select(System.String)
Fires when a file is selected. Upload Events.
Parameters
handler - System.String
The value that configures the select action.
Success(System.Func)
Fires when an upload or remove operation is completed successfully. Upload Events.
Parameters
handler - System.Func<Object,Object>
The value that configures the success action.
Success(System.String)
Fires when an upload or remove operation is completed successfully. Upload Events.
Parameters
handler - System.String
The value that configures the success action.
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 value that configures the upload action.
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 value that configures the upload action.
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 action that configures the async.
Directory(System.Boolean)
Enables the selection of folders instead of files.
Parameters
value - System.Boolean
The value that configures the directory.
Localization(System.Action)
Sets the strings rendered by the Upload.
Parameters
configurator - System.Action<FileManagerUploadLocalizationSettingsBuilder>
The action that configures the localization.
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 that configures the 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 that configures the showfilelist.
Validation(System.Action)
Configures the validation options for uploaded files.
Parameters
configurator - System.Action<FileManagerUploadValidationSettingsBuilder>
The action that configures the validation.