UploadProgress Event
Fired while the component is uploading files to the URL .
Syntax
public event OnUploadProgressHandler OnUploadProgress; public delegate void OnUploadProgressHandler(object sender, WebuploadUploadProgressEventArgs e); public class WebuploadUploadProgressEventArgs : EventArgs { public int PercentDone { get; } }
Public Event OnUploadProgress As OnUploadProgressHandler Public Delegate Sub OnUploadProgressHandler(sender As Object, e As WebuploadUploadProgressEventArgs) Public Class WebuploadUploadProgressEventArgs Inherits EventArgs Public ReadOnly Property PercentDone As Integer End Class
Remarks
The PercentDone parameter shows the progress of the upload. The event is fired at least once at the beginning of the transfer, and once at the end of the transfer. The respective values for PercentDone are 0 and 100.