title: Set the Dynamic Width to TextBoxFor
body: <p>I want to set the dynamic width to <code>Html.TextBoxFor</code> according to value get from Model </p>
  
  <pre><code>@Html.TextBoxFor(m =&gt; m.Agenda, new { @readonly = "readonly", id = "abc",@style="width:auto" }) 
  </code></pre>
  
  <p>but this is not working. I want to change every time the width according to "Agenda " value from model.</p>