How to run client and server side code for same button?
<p>In Asp.NET aspx page, there is a button for data Save, when user click on this button, I want:
1. Disable this button immediately
2. Then call code behind function Save() to save data back to DB
3. Then enable this button again.</p>

<p>What I did as below:</p>

<ol>
<li><p>JS function in apsx: </p>

<p>function DisableSave(){
      saveButton = document.getElementById('&lt;%=btnSave.ClientID%>'); 
      saveButton.disabled=true;
      return false;
    }</p></li>
<li><p>Button script:</p>

<p>&lt;---asp:Button ID="btnSave" OnCommand="Button_Command" CommandName="Save" runat="server"
 Text="Save" OnClientClick="javascript:DisableSave();"/></p></li>
<li><p>In code behind function Save()(supposed called by CommandName), set Save button enable back.</p></li>
</ol>

<p>But When I run the code, only disable the save button, Code behind call did not happened. </p>

<p>How to fix it?</p>
