title: MVC Model not passed to controller
body: <p>Am almost embarassed that I can't get this to work. I have a model like this:</p>
  
  <pre><code>public class Test
  {
    public string Test1 {get; set; }
    public string Test2 {get; set; }
  }
  </code></pre>
  
  <p>I have a razor view which correctly displays both Test1 and Test2. Test1 is displayed just like this:</p>
  
  <pre><code>@Html.LabelFor(model =&gt; mode.Test1)
  @Html.Test1
  </code></pre>
  
  <p>Test2 is displayed like this:</p>
  
  <pre><code>@Html.LabelFor(model =&gt; model.Test2)
  @Html.EditorFor(model =&gt; model.Test2)
  </code></pre>
  
  <p>i.e. I just want to display Test1, but want the user to be able to edit Test2. </p>
  
  <p>These are within a form:</p>
  
  <pre><code>@using(Hmtl.BeginForm("Action1", "Controller1", FormMethod.Post)
  </code></pre>
  
  <p>In Controller1.Action1 it receives the model:</p>
  
  <pre><code>public ActionResult Action1(Test m)
  {
  
  }
  </code></pre>
  
  <p>but in here m.Test1 is null, m.Test2 is correctly populated. m.test1 is correctly displayed in the view.</p>
  
  <p>Am confused.com</p>
  
  <p>Thanks in advance,</p>
  
  <p>Ray</p>