title: MVC Model is null during post
body: <p>Hi guys im having problems when posting, my model appears to be null on http post which is weird, there is no problems during the get method, everything populates as it should be but during post model is null. please help.</p>
  
  <p>View</p>
  
  <pre><code>  @model ComplianceCheck.Models.ViewModel.ArrivalModel
  
    @for (int itemindex = 0, id = itemindex + 1; itemindex &lt; Model.questionnaires.Count; itemindex++)
      {
  
          &lt;tr&gt;
              &lt;td&gt;
                  @id
              &lt;/td&gt;
              &lt;td&gt; 
                  @Html.DisplayFor(modelItem =&gt; Model.questionnaires[itemindex].Description)
              &lt;/td&gt;
              &lt;td&gt;
                  YES
                  @Html.RadioButtonFor(modelItem =&gt; Model.questionnaires[itemindex].Answer, true, new { id = "rbYes", @checked = "checked" }) 
                   NO
                  @Html.RadioButtonFor(modelItem =&gt; Model.questionnaires[itemindex].Answer, false, new { id = "rbNo" })
  
              &lt;/td&gt;
               &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; Model.questionnaires[itemindex].WigsID)
               &lt;/td&gt;
              &lt;td&gt;  
  
                    @Html.TextBoxFor(modelItem =&gt; Model.questionnaires[itemindex].Remarks, new { @style = "width:250px;" })
              &lt;/td&gt;
          &lt;/tr&gt;
  </code></pre>
  
  <p>Model </p>
  
  <pre><code> public class ArrivalModel
  {
  
      public ArrivalSearchModel searchModel = new ArrivalSearchModel();
      public List&lt;ArrivalDataModel&gt; data = new List&lt;ArrivalDataModel&gt;();
      public ArrivalSingleDataModel singledata = new ArrivalSingleDataModel();
      public List&lt;ArrivalQuestionnaires&gt; questionnaires = new List&lt;ArrivalQuestionnaires&gt;();
  }
  
    public class ArrivalQuestionnaires
  {
      public int QuestionID { get; set; }
  
      public string WigsID { get; set; }
  
      public string Area { get; set; }
  
      public string Description { get; set; }
  
      public bool Answer { get; set; }
  
      public string Remarks { get; set; }
  
  }
  </code></pre>
  
  <p>Controller: some codes deleted to lessen question length</p>
  
  <p>//Get works fine..</p>
  
  <pre><code> GET: /Questionnaires/ (Create)
        public ActionResult QuestionnairesList(string txtDate, string Flightno, string Checker)
          {
              ArrivalModel model = new ArrivalModel();
  
              List&lt;ArrivalQuestionnaires&gt; arrivalQuestionnaires = new List&lt;ArrivalQuestionnaires&gt;();
  
    foreach (Question questionnaires in ArrivalService.GetAllQuestionnaires("Arrival"))
                  {
                      ArrivalQuestionnaires toAdd = new ArrivalQuestionnaires
                      {
                          QuestionID = questionnaires.QuestionID,
                          WigsID = questionnaires.Wig.WigsCode,
                          Area = questionnaires.Area,
                          Description = questionnaires.Description,
                      };
                      arrivalQuestionnaires.Add(toAdd);
                  }
  
                  model.questionnaires = arrivalQuestionnaires;
              }
  
              return View(model);
          }
  
  }
  </code></pre>
  
  <p>Here is the problem, httppost fires but model is null</p>
  
  <pre><code>[HttpPost]
          public ActionResult QuestionnairesList(ArrivalModel model)
          {}
  </code></pre>