When I click on button I need to invoke ResetValues method in controller. But am able to invoke the DocDetails method. Can anyone help me out!!
@using (Html.BeginForm("DocDetails", "FormAdmin", FormMethod.Get))
{
//some other controls and logic related to that
@{ Html.BeginForm("ResetValues", "FormAdmin", FormMethod.Post);}
<button onclick="location.href='@Url.Action("ResetValues","FormAdmin")'" >Search2</button>
@{ Html.EndForm();}
}