Multiple Button Raised Controller.

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 1595
<% Html.BeginForm("Index", "HomeController", FormMethod.Post); %>
<input type="submit" name="submitButton" value="Send" />
<% Html.EndForm(); %>


<% Html.BeginForm("Cancel", "Home", FormMethod.Post); %>
<input type="submit" name="submitButton" value="Cancel" />
<% Html.EndForm(); %>

public ActionResult Cancel()
{
return View();
}

Comments or Responses

Login to post response