比如有下面的实体: public class PayPasswordModel
    {
        /// <summary>
        /// CustomerPayPasswordInfo 是自定义的类型问题,就是这个实体类型每次post到后台都是null
        /// </summary>
        public CustomerPayPasswordInfo ViewPayPasswordInfo { get; set; }        /// <summary>
        /// CellPhone
        /// </summary>
        public string CellPhone { get; set; }
    }
前端代码如下: @Html.Hidden("payPassword", Model.ViewPayPasswordInfo.PayPassword)controller如下:
  [HttpPost]
        public ActionResult GetPayPasswordMobileCode(PayPasswordModel payPasswordModel, FormCollection form)
        {
            var test = payPasswordModel.ViewPayPasswordInfo.PayPassword;//问题就在这,这个ViewPayPasswordInfo为null,没有post到后台来
}