Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ボタンクリックでasp.netページを不透明にする方法、それぞれのボタンが完了するまで。
誰でも私を助けることができますか?
通常のポストバックの場合は、クライアント側の JavaScript を使用して、実際のポストバックが発生する前にボタンを無効にします。
<asp:Button runat="server" ID="myBtn" OnClick="YourServerSidePostBack" OnClientClick="document.getElementById('<%= myBtn.ClientID %>').disabled = true;" />