You this problem I give you to analyze, datagrid's toolbar is essentially linkbutton, to disable or enable a linkbutton to call its disable or enable method, according to the needs of what you said above, click to modify the button to disable itself, enable the preservation of the code is as follows:
handler : function() {// Here's the modifier button right after yours
// Note that the ID is the one that corresponds to the toolbar button you initialized
$("#update").linkbutton("disable"); // Disable the modifier button
$("#save"). linkbutton("enable"); // enable save button
}