title: How to write input value with razor in MVC3
body: <p>I use resources file in MVC3 project for multilanguages.</p>
  
  <pre><code>[Display(Name = "Search", ResourceType = typeof(LanguageResources.Lang))]
  public string Search { get; set; }
  </code></pre>
  
  <p>I cant write an input value with razor.</p>
  
  <p><code>@Html.LabelFor(o =&gt; o.Search)</code> is works on page but i need to write value of inputs.</p>
  
  <pre><code>&lt;input class="searchInput" type="text" name="name" value='@Html.ValueFor(o =&gt; o.Search)' /&gt;
  </code></pre>
  
  <p>i tried this but value is empty in html page source.</p>