Disable an asp.net dynamic button click event during postback and enable it afterwards.

Posted by stckvrflw on Stack Overflow See other posts from Stack Overflow or by stckvrflw
Published on 2010-01-28T09:52:49Z Indexed on 2010/03/24 12:53 UTC
Read the original article Hit count: 171

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET