Ritesh Singh
How we can multiple submit buttons in ASP.Net MVC?
By Ritesh Singh in .NET on Aug 19 2016
  • prasoon yadav
    Sep, 2020 16

    [HttpPost] public ActionResult ProcessForm(Customer obj,string save,string cancel) {if(!string.IsNullOrEmpty(save)){ViewBag.Message = "Customer saved successfully!";}if (!string.IsNullOrEmpty(cancel)){ViewBag.Message = "The operation was cancelled!";}return View("Result",obj); }

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS