/ Published in: ASP
                    
                                        
this will disable a button after the first click, but will continue to do its original postback. Note: if it has a custom css class, then the button will still appear clickable, with the exception that the text of the button gets the slight disabled look. But in reality, it really is disabled.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<asp:button id="btnID" runat="server" CssClass="button" Text="Save Current Screen Contracts" UseSubmitBehavior="false" OnClientClick="this.disabled=true" />
Comments
 Subscribe to comments
                    Subscribe to comments
                
                