title: MVC3 Razor Html.TextBoxFor: Can I make it Multi-Line like TextAreaFor?
body: <p>I've already seen this post: <a href="https://stackoverflow.com/questions/4986442/changing-the-size-of-html-textbox">Changing the size of Html.TextBox</a></p>
  
  <p>But I cannot change to <code>Html.TextAreaFor()</code> because it does not have an attribute for me to set a dynamic default value (I am making an edit page that I want to dynamically fill in the fields of the current data which can then be modified). I also can't seem to get the EditorFor to work even if I change to <code>[DataType(DataType.MultilineText)]</code> in my viewmodel (all it does it seem to change to textboxfor and my default values do not show up).</p>
  
  <p>My edit view takes in a viewmodel containing two models, an empty form (<code>OfferForm</code>) to be filled with the onscreen fields, and the <code>offer</code> model containing the current data. I want to have textfields for the <code>OfferForm</code>, and dynamically fill them with the contents of the <code>offer</code> model's data.</p>
  
  <p>Here is my html:</p>
  
  <pre><code>&lt;div class="InLine"&gt;
                      &lt;div class="InLine editor-label-container"&gt;
                          &lt;div class="editor-label"&gt;
                              @Html.LabelFor(model =&gt; model.OfferForm.Description)
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="InLine editor-field-container"&gt;
                          &lt;div class="editor-field"&gt;
                              @Html.TextBoxFor(model =&gt; model.OfferForm.Description, new { @Value = @Html.DisplayFor(model =&gt; model.Offer.Description)})
                              @Html.ValidationMessageFor(model =&gt; model.Offer.Description)
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="InLine"&gt;
                      &lt;div class="InLine editor-label-container"&gt;
                          &lt;div class="editor-label"&gt;
                              @Html.LabelFor(model =&gt; model.OfferForm.SMSText)
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="InLine editor-field-container"&gt;
                          &lt;div class="editor-field"&gt;
                              @Html.TextBoxFor(model =&gt; model.OfferForm.SMSText, new { @Value = @Html.DisplayFor(model =&gt; model.Offer.SmsText)})
                              @Html.ValidationMessageFor(model =&gt; model.Offer.SmsText)
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>Is there a way to set a "<code>multiline</code>" attribute in the <code>Html.TextBoxFor()</code>?</p>