Skip to main content

ASPxClientFileManager.FileUploading Event

Obsolete. Fires on the client side before a file upload starts, and allows you to cancel the action.

Declaration

FileUploading: ASPxClientEvent<ASPxClientFileManagerFileUploadingEventHandler<ASPxClientFileManager>>

Event Data

The FileUploading event's data class is ASPxClientFileManagerFileUploadingEventArgs. 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.
fileName Gets the name of a file selected for upload.
folder Gets the path to the folder where a file is being uploaded.

Remarks

Each time a file is going to be uploaded on the client side, the FileUploading event occurs, allowing you to cancel the action. You can use the event parameter’s properties to identify a file name (ASPxClientFileManagerFileUploadingEventArgs.fileName) or a folder, where the file will be uploaded (ASPxClientFileManagerFileUploadingEventArgs.folder).

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

After a file has been uploaded, the ASPxClientFileManager.FileUploaded event is raised.

See Also