Click here to Skip to main content
14,333,747 members
Rate this:
Please Sign up or sign in to vote.
See more:
i want to avoid double click on gridview link button inside template field button . i want to disable link button when it click after server response it should be enable

What I have tried:

i have tried but not work

UseSubmitBehavior="false"  OnClientClick="this.disabled='true';this.value='please wait..';"

or use this
<script type="text/javascript" language="javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler);
        function BeginRequestHandler(sender, args) { var oControl = args.get_postBackElement(); oControl.disabled = true; }
   </script>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100