开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜