I have a controller with this method
[HttpPost]
public ActionResult AssociateCaseDetails(string btnSubmit, string navigate)
{
................................
................................
}
In the view i had an input like
<input type="submit" class="backdetails" value="BACK" name="btnSubmit" />
When i clicked on that button the btnSubmit value was BACK, so i thought of creating a similar input which will call that method
<input type="submit" class="submit" value="SAVE" name="btnChangeStatus" />
When i click this the AssociateCaseDetails is getting called but the btnSubmit is having null
as value
What have i done wrong here?