On my webpage, I have a button that copies a file to the server. I want to display an animated file copy gif on the screen while the copying process is ongoing, and then hide it once the file has been successfully copied:
me.image.visible = true
copy file routine.....
me.image.visible = false
The file is being copied properly by the button, but the animated gif is not visible because its visibility is toggled within the code without triggering a postback to refresh the screen.
If this is not the correct approach, what alternative method should I pursue?