Using WebProgressBar is a bit of the challenge. I have Utility web page that has indeterminate WebProgressBar control, invisible by default. The idea is to populate the list on Utility web page with the data coming from the file. The Utility page provides user with the button to open UploadFileDialog that allows user to pick the CSV file and push the button to send the file and complete the import into the list on Utility page, there is some row level validation before the data is displayed in the WebListBox.
The UploadFileDialog is used as a super class for UploadDialog1 control that shows in the bottom tray on Utility web page. I have placed code to make the WebProgressBar control visible in the UploadDialog1.Dismissed event so that the progress bar shows up just before the import starts. I have noticed that this does not work, the progress bar does not show up. Note, there is enough time for it to show.
I have come up with workaround by turning on the Utility.ProgressBar1 from the UploadFileDialog, this works.
Can someone help me to understand the above difference?