title: Does ReadOnly(true) work with Html.EditorForModel?
body: <p>Consider the following setup:</p>
  
  <p>Model:</p>
  
  <pre><code>public class Product
  {
      [ReadOnly(true)]
      public int ProductID
      {
          get;
          set;
      }
  
      public string Name
      {
          get;
          set;
      }
  }
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" 
  Inherits="System.Web.Mvc.ViewPage&lt;MvcApplication4.Models.Product&gt;" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"&gt;
      Home Page
  &lt;/asp:Content&gt;
  
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"&gt;
      &lt;%= Html.EditorForModel() %&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public class HomeController : Controller
  {
      public ActionResult Index()
      {
          return View(new Product
              {
                  ProductID = 1,
                  Name = "Banana"
              });
      }
  }
  </code></pre>
  
  <p>There result is this:
  <img src="https://i.stack.imgur.com/7ocZW.png" alt="alt text"></p>
  
  <p>I was expecting that the <code>ProductID</code> property was not going to be editable via the <code>ReadOnly(true)</code> attribute. Is this supported? If not is there any way to hint ASP.NET MVC that some properties of my model are read-only? I would not like to just hide <code>ProductID</code> via <code>[ScaffoldColumn(false)]</code>.</p>