title: make property as readonly using dataannotation attribute
body: <p>I have property Name which I want to be readonly. So inside viewmodel I decorated this property with attribute readonly like</p>
  
  <pre><code> [ReadOnly(true)]
   public string Name { get; set; }
  </code></pre>
  
  <p>and inside Edit view I have </p>
  
  <pre><code>@Html.EditorFor(model =&gt; model.Name)
  @Html.ValidationMessageFor(model =&gt; model.Name)
  </code></pre>
  
  <p>and I'm still able to edit make changes inside textbox. </p>
  
  <p>Should I use some css class to disable this textbox on the view side or this should be enough (if that is the case why this solutions does'nt work).</p>