I have the following scenario:
On click of a SAVE button in aspx page,some processing will take place. The processing can be of 10-15 minutes. I want to disable the SAVE button till process ends and once process completes, the SAVE button should be enabled.
I tried the following but could not solve the problem:
1) Client Side Scripting:
I called a JavaScript on client click of button and set the disable property to true. However, server side saveButton_Click event is not called because of disabling the button on client side.
2) Disabling in saveButton_Click method on server side:
In this case, as the call of saveButton_Click already happened and requested is sent to server, the client side is as it without any difference until the request is processed.