Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.UpdateEdit() Method

Saves all the changes made and switches the ASPxGridView to browse mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public void UpdateEdit()

Remarks

End-users can update the edited row by clicking the Update command item.

Example

You can update multiple ASPxGridViews on a ASPxButton click as follows:

protected void cp_Callback(object sender, CallbackEventArgsBase e) {
     switch (e.Parameter) {
          case "Update":
               gv1.UpdateEdit();
               gv2.UpdateEdit();
               break;
          case "Cancel":
               gv1.CancelEdit();
               gv2.CancelEdit();
               break;
     }
}
See Also