title: RadioButtonFor not selecting value in editor templates
body: <p>I have the following model:</p>
  
  <pre><code>public class Person
  {
      public string Name { get; set; }
      public string Gender { get; set; }
  }
  </code></pre>
  
  <p>I want the default gender to be female, so I set that up in the action:</p>
  
  <pre><code>public ActionResult Create()
  {
      var model = new Person { Gender = "F" }; // default is female
      return View(model);
  }
  </code></pre>
  
  <p>Finally, the view renders everything like this:</p>
  
  <pre><code>@model Person
  
  @using (Html.BeginForm())
  {
      @Html.EditorForModel()
      &lt;p&gt;&lt;input type="submit" value="Create" /&gt;&lt;/p&gt;
  }
  </code></pre>
  
  <p>This all works as expected. Now, let's say that instead of a simple textbox, I want to display the gender as a more intuitive pair of radio buttons. So I make the following template and save it to Shared/EditorTemplates/Gender.cshtml:</p>
  
  <pre><code>@model string
  @Html.RadioButtonFor(model =&gt; model, "F") Female
  @Html.RadioButtonFor(model =&gt; model, "M") Male
  </code></pre>
  
  <p>Finally I decorate Gender with <code>[UIHint("Gender")]</code>.</p>
  
  <p>Gender is now properly rendered with radio buttons, which is great, BUT...</p>
  
  <p><strong>The problem</strong></p>
  
  <p>Female no longer comes pre selected as the default value and instead I end up with the two radio buttons blank. Am I missing something?</p>
  
  <p>Interestingly, if I move <code>RadioButtonFor</code> from the template to the view (changing <code>model =&gt; model</code> to <code>model =&gt; model.Gender</code>), then everything works as expected. I know this is a viable workaround, but these templated helpers are such an amazing, addictive convenience that I would rather exhaust all possibilities before letting them go.</p>