Preventing accidental double clicking on a button

后端 未结 7 971
夕颜
夕颜 2020-12-18 03:11

I have a few controls that inherit from ASP.NET buttons and use onserverclick.

If the user clicks twice, the button fires two server side e

7条回答
  •  旧时难觅i
    2020-12-18 03:36

    See this example for disabling control on postback. It should help you do what you're trying to achieve.

    http://encosia.com/2007/04/17/disable-a-button-control-during-postback/

提交回复
热议问题