title: MVC Send back model properties after POST
body: <p>I have a Model that I send to the view in a GET method and is bounded successfully to <code>TextFor</code> and ListFor's</p>
  
  <p>e.g. </p>
  
  <pre><code>@Html.ListBoxFor(x =&gt; x.MultiChoice, new MultiSelectList(Model.property, "Id", "Name"), new { multiple = "multiple", @class = "multiselect" })
  </code></pre>
  
  <p>When the user submits the form, the Model is successfully passed back to the POST action method with its properties. </p>
  
  <pre><code>    [HttpPost]
      public ActionResult POST(Model quiz)
      {
        string Q1 = quiz.Q1 // = will equal what the user has put in. good
  
        return View("Quiz", quiz);
      }
  </code></pre>
  
  <p>However, when the Model (quiz) is returned to the view, the properties inside the quiz model are NULL, how do I retain the properties that come through to the POST method?</p>
  
  <p>** Edit **</p>
  
  <p>The GET Method</p>
  
  <pre><code>    [HttpGet]
      public ActionResult Quiz()
      {
          try
          {
              Quiz quiz = new Quiz();
  
              // Of course, I could do this in the constructor of the model..
              InitialiseQuiz(Quiz);
  
              return View("Quiz", quiz");
          }
          catch (Exception ex)
          {
  
          }
      }
  </code></pre>
  
  <p>Thanks</p>