Edit this page

UploadItem Events

This topic covers the specific events exposed by a RadUploadItem.

Each RadUploadItem raises the following specific events:

  • PreviewDelete - occurs before an UploadItem is deleted. 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 DeleteEventArgs object.

  • Delete - occurs when an UploadItem is deleted. 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 DeleteEventArgs object.

  • Validate- occurs when the user clicks the Upload button for each selected file before the start of the upload process. 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 UploadValidateEventArgs object.