Progress bar visible to user

Apr 25, 2016 at 10:18 AM
Edited Apr 25, 2016 at 10:26 AM
I am trying to show user a progress bar during the uploadFile. I can get the percentage in back end through the method:
 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?

Any ideas would be highly appreciated! Thank you!