model always null on submit - mvc4
I have a weird problem with mvc4, having a razor view which submits an
always null model to it's action, I have searched for the reason behind
that and found a popular reason here and here
but actually this is invalid in my case, as the action signature is like
the following
[HttpPost]
public ActionResult Detail(ReleasePaymentEditViewModel model)
and have no model field called model also I've found results talking about
populating drop downs issues, but my drop downs are populating correctly
in the server side till the render of the view, so my problem is all about
the submit
any one have any idea? Thanks.
No comments:
Post a Comment