title: MVC3 EditorFor not populated in Chrome
body: <p>I'm having trouble populating a textbox in a Create view. Pertinent code is as follows.</p>
  
  <p>Model:</p>
  
  <pre><code>public class Client
  {
      public int ClientID { get; set; }
      private string _username = HttpContext.Current.User.Identity.Name;
      public string UserName 
      {
          get
          { return _username; }
           set
          { _username = value;}
      }
  </code></pre>
  
  <p>}</p>
  
  <p>View:</p>
  
  <pre><code>@model model.Client
  &lt;div class="editor-label"&gt;
  @Html.LabelFor(model =&gt; model.UserName)
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
  @Html.EditorFor(model =&gt; model.UserName)
  @Html.ValidationMessageFor(model =&gt; model.UserName)
  &lt;/div&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public ActionResult Create()
  {
      return View(new Client());
  }
  </code></pre>
  
  <p>This works perfectly in IE and Firefox; the <code>&lt;input&gt;</code> textbox is rendered with the value set to the current user's login name. In Chrome, however, the value is an empty string.</p>
  
  <p>Can anyone explain this behavior and provide a workaround?</p>
  
  <p>Thanks in advance for any assistance.</p>