I am trying to show user a progress bar during the uploadFile. I can get the percentage in back end through the method below, however I cannot manage to print the percentage returned by e.PercentageProgress to display to the user.
static void UploadDownloadProgress(Object sender, FileDataTransferEventArgs e)
{
// Need to show this on a label or return to front end somehow
System.Diagnostics.Debug.WriteLine(e.PercentageProgress);
e.Cancel = false;
}
The question is how can I get the e.PercentageProgress to show on an aspx page or get it to use in javascript?