I’m not sure if this is possible. I’m trying to display a progress bar when an asp button has been clicked. The button will perform a lengthy database operation before posting back. I want to display the progress bar to the user so they will know that something is happening.
I’m unsure if the time or progress can even be measured on this between the button has been clicked and the completion of the function.
All help is appreciated
You can use
UpdatePanelandUpdateProgresscontrols to do the task. Here is a exampleOther solution. First create a WebService (which will do the required task), call it from client side on button click and at the same time using javascript or jquery show image. And as soon as you got confirmation from the service that task has been completed hide this image and tell user that task has been completed.