how to disable double click for submit button?
how to disable double click for submit button? i am facing duplicate entries problem.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaganathan BantheswaranPosted Jan 7, 2014, 6:07 AM
btnSubmit.Attributes.Add("onclick", "this.disabled=true;" + GetPostBackEventReference(btnSubmit).ToString());
for this, you have to set UseSubmitBehaviour="false"
Hardik PatelPosted Jan 7, 2014, 2:43 AM
i tried it but it's not working.
Girish SapariyaPosted Jan 7, 2014, 1:03 AM
You can set "Enable" property of button to "false" once it is click.
And later after you have done with your entries reset the form and then set "Enable" property of button to "true".
Hope this helps you... :)
Satyapriya NayakPosted Jan 7, 2014, 1:00 AM