|
|
        This topic covers the specific events exposed by the RadUpload control. The RadUpload control raises the following specific events: - FileUploadStarting - occurs before a file starts uploading. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A FileUploadStartingEventArgs object.
- FileUploadFailed - occurs when the upload of a file fails. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A FileUploadFailedEventArgs object.
- FileUploaded - occurs when the upload of a file finishes successfully. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A FileUploadedEventArgs object.
- FileTooLarge - occurs when the selected file breaks the maximal file size limitation - the MaxFileSize value. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A FileEventArgs object.
- FilesSelected - occurs when files have been selected from the browse dialog window. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A FilesSelectedEventArgs object.
- FileCountExceeded - occurs only once, if the number of the selected files exceeds the MaxFileCount value. The additional files are held in the RadUploadCurrentSession.FilesOverCountCapacity collection. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A RoutedEventArgs object.
- ProgressChanged - occurs each time when the progress of the upload changes. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An RoutedEventArgs object.
- UploadCanceled - occurs when the upload process gets canceled. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An RoutedEventArgs object.
- UploadFinished - occurs when all files have been processed and the upload finishes. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An RoutedEventArgs object.
- UploadPaused - occurs when the upload process gets paused. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An RoutedEventArgs object.
- UploadResumed - occurs when the upload process gets resumed. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An RoutedEventArgs object.
- UploadSizeExceeded - occurs only once, if the total size of the selected files exceeds the maximum allowed total size - the MaxUploadSize value. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- A RoutedEventArgs object.
- UploadStarted - occurs when the upload process has begun. The event handler receives two arguments:
- The sender argument contains the RadUpload. This argument is of type object, but can be cast to the RadUpload type.
- An UploadStartedEventArgs object.
See Also
|