uploadFile 中に進行状況バーをユーザーに表示しようとしています。以下のメソッドを使用してバックエンドでパーセンテージを取得できますが、e.PercentageProgress によって返されたパーセンテージを印刷してユーザーに表示することはできません。
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;
}
問題は、どうすれば e.PercentageProgress を aspx ページに表示したり、javascript で使用したりできるかということです。