Link to home
Create AccountLog in
Avatar of mgmhicks
mgmhicks

asked on

disabling web button after click

I have a submit button on web page that process information and updates a database.  While it is processing, individuals can still click the submit button and then end up updating the database 2 times, until a window comes up and says the processing is complete.  How can I shut down that button to keep that from happening?  bnt.visible='false' isnt working once the button is clicked.  Just doesnt change property whiling running through the sub, of course waits until page refreshes.

thanks
ASKER CERTIFIED SOLUTION
Avatar of deast05
deast05
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of mgmhicks
mgmhicks

ASKER

That did it thank you!
Ok, I ran into a issue, that if validation fails and the after I click the ok button in the vaildation summary messagebox, the submit button is still disabled.  Please a little more code to fix this issue.

thanks