The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientFileManager.FilesUploading Event

Fires on the client side before the selected items are uploaded and allows you to cancel the action.

Declaration

FilesUploading: ASPxClientEvent<ASPxClientFileManagerFilesUploadingEventHandler<ASPxClientFileManager>>

Event Data

The FilesUploading event handler receives an argument of the ASPxClientFileManagerFilesUploadingEventArgs type. The following properties provide information specific to this event.

Property Description
cancel Gets or sets a value indicating whether the action which raised the event should be canceled.
fileNames Gets the names of files selected for upload.
folder Gets the path to the folder where files are being uploaded.

Remarks

Each time files are going to be uploaded on the client side, the FilesUploading event occurs, allowing you to cancel the action.

You can use the event parameter's properties to identify uploaded file names (ASPxClientFileManagerFilesUploadingEventArgs.fileNames) or the folder, where the files will be uploaded (ASPxClientFileManagerFilesUploadingEventArgs.folder).

To cancel the upload operation, set the ASPxClientFileManagerFilesUploadingEventArgs.cancel property to true.

After the files have been uploaded, the ASPxClientFileManager.FilesUploaded event is raised.

See Also