I have form that has several buttons, 1 to delete via aja, 1 to edit via ajax, 1 to open report and I have 1 button for when it is clicked on wish to do the form post, the button of the post works problem is that everyone else is also called the post method.
@using (Html.BeginForm("Create", "Home", FormMethod.Post, new { id ="submitForm" }))
{
<button type="submit" id="btnSave" name="command" value="Save">Save</button>
<button type="submit" id="btnSubmit" name="command" value="Cancel"/>
}