Dotnet Tutorials ,Codings & Examples: Disable Double Click Button <h1 class='display-2'> Disable Double Click Button ~ Dotnet Tutorials ,Codings & Examples</h1>

Disable Double Click Button

How to Prevent Double click in

The following snippets will prevent you from the Double click 

 Just use the below line code under page_load event:

cmdSubmit.Attributes.Add("onclick", "this.disabled=true;" + ClientScript.GetPostBackEventReference(cmdSubmit,"").ToString());

note:-  cmdSubmit should be Button Name


Good article about how to Prevent Double click in

Thanks! Can it be done in JavaScript?

Post a Comment