Edit this page


The OnClientFileUploading occurs before the RadCloudUpload starts to upload the specified file to the Cloud Storage Provider. This event can be cancelled.

The event handler receives two parameters:

  1. The instance of the RadCloudUpload control firing the event.

  2. An eventArgs parameter containing the following methods:

  • get_row returns the created row from the FileListPanel section (<LI> element)

  • get_fileName returns the name of the file selected

  • set_cancel cancel the upload process

<telerik:RadCloudUpload runat="server" ID="RadCloudUpload1" OnClientFileUploading="onClientFileUploading" ...>
function onClientFileUploading(sender, eventArgs) {
    if (eventArgs.get_fileName().length > 20) {
    else {