title: Setting Value Html Attribute For Html.TextBox (MVC 1.0)
body: <p>I'm creating an Html TextBox via HtmlHelper and I can't get the value attribute set. I've tried both of the lines below and I have also googled but cannot find a solution:</p>
  
  <pre><code>&lt;%= Html.TextBox("name", null, new { @class = "textbox", value = "hi" }) %&gt;
  &lt;%= Html.TextBox("name", null, new { @class = "textbox", @value = "hi" }) %&gt;
  </code></pre>
  
  <p>Both lines return an input element with value=""</p>
  
  <p>What am I missing?</p>