This question is locked. New answers and comments are not allowed.
Hi All,
I'm using mvc grid with ajax binding and PopUp editing mode. In EditorTemplate we have custom button (Save, Save & Close, Cancel) and are not using the default (Update, Cancel) buttons.
I need to perform the following action against these buttons
Save: Submits the form and update the db (Update Action in Controller) but do NOT close the window.
Save & Close : Submit the form and update the db (Update Action in Controller), Close the window and goes back to the same grid page. e.g if the user is currentl at 9th page and edits a row, after submit it should come back to the same page 9.
Cancel : Do not save anything and just close the window and return to the same page 9.
Please remember that I'm using the Ajax binding for parent grid page and I have the following Actions in the controller.
Index, _Index and Update.
Any repsone would be much appreciated
Eddie
I'm using mvc grid with ajax binding and PopUp editing mode. In EditorTemplate we have custom button (Save, Save & Close, Cancel) and are not using the default (Update, Cancel) buttons.
I need to perform the following action against these buttons
Save: Submits the form and update the db (Update Action in Controller) but do NOT close the window.
Save & Close : Submit the form and update the db (Update Action in Controller), Close the window and goes back to the same grid page. e.g if the user is currentl at 9th page and edits a row, after submit it should come back to the same page 9.
Cancel : Do not save anything and just close the window and return to the same page 9.
Please remember that I'm using the Ajax binding for parent grid page and I have the following Actions in the controller.
Index, _Index and Update.
Any repsone would be much appreciated
Eddie