Hello,
I have a single form with multiple submit buttons that have same value. Example: "Proceed".
Now, in ASP.Net MVC's post controller method, how do I know which button is pressed?
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult DepartmentDetails(string submitButton)
The value of submitButton will always be "Proceed". How do I know which button is pressed.
I have given separate IDs for each button.
Thanks.