Hi,
Is there a technique for disabling a button inside a CallbackPanel while a callback is happening and, maybe, modifying the button's text at the same time? This would be used to prevent a user from clicking a button twice e.g. when placing an order or saving a record. E.g.
Code: HTML/ASPX
<CallbackPanel>
<asp:Button ID="MyButton" runat="server" Text="Checkout" OnClick="MyButton_Click" />
</CallbackPanel>
When the user clicks the button, I would like to:
1) disable it to prevent a user clicking it again
2) set its Text property to "Processing..."
3) run the MyButton_Click code as a callback
4) set its Text property to "Complete"
Thanks,
Mark