title: How to create a readonly textbox in ASP.NET MVC3 Razor
body: <p>How do I create a readonly textbox in ASP.NET MVC3 with the Razor view engine?</p>
  
  <p>Is there an HTMLHelper method available to do that?</p>
  
  <p>Something like the following?</p>
  
  <pre><code>@Html.ReadOnlyTextBoxFor(m =&gt; m.userCode)
  </code></pre>