I can not figure out how to disable a double click on a button. I've tried client side javascript on the "OnClick event" but that is not working. The button remains available and if a double click occurs I get:
A critical error has occurred.
Failed to load v13wstat3. The control tree into which v13wstat3 is being loaded must match the control tree that was used to save v13wstat3 during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request
I've also tried placing this in the "OnLoad" event for the page:
btn.OnClientClick = "this.disable = true;"
btn.OnClientClick = "this.disable(true);"
None of them work, anyone else have any ideas. (Oh I'm using an asp:Button control)
Thanks.