Disable an asp.net dynamic button click event during postback and enable it afterwards.
- by stckvrflw
Hello all,
I am creating a button dynamically in my code and attaching a click event to it. However I have to prevent people to click it while there is a process going on. So when it is clicked once, it should be disabled and when the process ends it should be enabled. How can I do that?
Thanks.