Fires on the client side before a file download starts, and allows you to cancel the action.
The FileDownloading event's data class is ASPxClientFileManagerFileDownloadingEventArgs. The following properties provide information specific to this event:
|cancel||Gets or sets a value indicating whether the action which raised the event, should be canceled.|
|file||Gets a file related to the event. Inherited from ASPxClientFileManagerFileEventArgs.|
Each time a file is going to be downloaded on the client side, the FileDownloading event occurs, allowing you to cancel the action. You can use the event parameter's properties to identify a file that is being processed (ASPxClientFileManagerFileEventArgs.file).
To cancel the download operation, set the ASPxClientFileManagerFileDownloadingEventArgs.cancel property to true.