New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientProgressUpdating
Updated on Apr 20, 2026
The OnClientProgressUpdating occurs each time the inline progress indicator is being updated.
The event handler receives two parameters:
-
The instance of the RadAsyncUpload control firing the event.
-
An eventArgs parameter containing the following method:
-
get_row - returns the row whose update indicator has been updated
-
get_data - returns data object containing information regarding the progress. The data object contains the following properties:
-
percent- returns the percentage of the uploaded file.
-
fileSize - returns the file size in bytes.
-
fileName - returns the name of the uploading file.
-
uploadedBytes - returns the number of uploaded bytes.
ASPNET
<telerik:RadAsyncUpload RenderMode="Lightweight" runat="server" ID="RadAsyncUpload1" OnClientProgressUpdating="onClientFileUploading" MultipleFileSelection="Automatic"></telerik:RadAsyncUpload>
JavaScript
<script type="text/javascript">
function onClientFileUploading(sender, args) {
var data = args.get_data();
var percents = data.percent;
var fileSize = data.fileSize;
var fileName = data.fileName;
var uploadedBytes = data.uploadedBytes;
alert("Uploading information: File name: " + fileName + ", " + percents + "% completed,
total size: " + fileSize + " , uploaded: bytes " + uploadedBytes + "." );
}
</script>