title: Has the behavior for DataAnnotations in asp.net mvc 3 changed?
body: <p>I have a Model with a property </p>
  
  <pre><code>[ReadOnly(true)]
  public decimal BodyMassIndex { get; private set; }
  </code></pre>
  
  <p>In my View when I call </p>
  
  <pre><code>@Html.EditorForModel()
  </code></pre>
  
  <p>I still get a standard editable textbox for that property</p>
  
  <p>Why is this? if the textbox is still editable whats the point of this DataAnnotation Attibute?</p>
  
  <p><a href="http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-2-modelmetadata.html" rel="nofollow">Brad Wilson's post</a></p>