I have to pass hidden filed values to controller action. So I have tried in the following way, but I am getting null values.
I have tried both methods i.e formcollection
Try this, In Razor view:
@using (Html.BeginForm(new { id = "postform" })) { @Html.HiddenFor(m=>m.hiddevalue) }