开发者

how to opacity the asp.net page on button click , till procees get complete

开发者 https://www.devze.com 2023-02-01 02:27 出处:网络
how to 开发者_Python百科opacity the asp.net page on button click , till procees get complete of respective button.

how to 开发者_Python百科opacity the asp.net page on button click , till procees get complete of respective button.

Can anyone help me ?


If it's a regular postback, use client side javascript to disable the button before the actual postback happens.

<asp:Button runat="server" ID="myBtn" OnClick="YourServerSidePostBack" 
     OnClientClick="document.getElementById('<%= myBtn.ClientID %>').disabled = true;" />
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号