ChadMarsh
asked on
Prevent multiple submits from the finish button in a wizard
Hello Experts,
I have a registration page that I set up using a wizard control. The only problem is sometimes the user clicks the finish button more then once
and I get duplicate records in my database. I've found tons of posts on disabling a submit button but it seems like it's a little harder then throwing some javascript on a submit button. I'm having a hard time accessing the finish button within the wizard to even disable it.
Any help would be appreciated.
Thanks
Chad
I have a registration page that I set up using a wizard control. The only problem is sometimes the user clicks the finish button more then once
and I get duplicate records in my database. I've found tons of posts on disabling a submit button but it seems like it's a little harder then throwing some javascript on a submit button. I'm having a hard time accessing the finish button within the wizard to even disable it.
Any help would be appreciated.
Thanks
Chad
ASKER
Thanks for the post. I have used that one. My problem is I can't get to the finish button to add the attribute
Chad
Chad
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Much easier than what I was trying to do. Thank You!
http://www.codeproject.com/aspnet/DisableSubmitButton.asp
I used this code many times. and works great for me..
Really easy to implement