MVC handle multiple submit buttons in ASP.NET MVC.
In MVC we can handle the multiple submit buttons in same post type action. The following code snipt will help you to implement this kind of scenario. Step 1: Add the following two actions in your MVC controller. public ActionResult Test() { return View(); } [HttpPost] public ActionResult Test(string submitBtn) { switch (submitBtn) { case "Save": //Perform save functionality. break; case "Cancel": //Manage cancel button click break; } return View(); } Step 2: Now create new view with following html. In this html you can see two submit buttons in one Form. So everytime when we will click on any submit button then the "Test" method will be called. @{ ViewBag.Title = "Test"; } <h2>TestR</h2> @using (Html.BeginForm("Test", "Home", FormMethod.Post)) { <input type="text" name="FirstName" /> ...