title: ASP.NET MVC Html.TextBox @class = "MyClass" not working
body: <p>I am using the Html.TextBox helper method to generate a textbox against my model but when i pass in an anonymous htmlAttributes class with @class defined like below, the class is never assigned.  Am I doing something wrong?  I have assigned a readonly attribute the same way and it worked.</p>
  
  <pre><code>&lt;%= Html.TextBox("LastName", Model.LastName, new { @class = "width-600" })%&gt;
  </code></pre>
  
  <p>Thoughts on what I am doing wrong?</p>
  
  <p>UPDATE!
  I was making changes in the wrong view. This works fine. Make sure you are on the right view folks!</p>