title: Razor how to create a CheckBox and make it READONLY?
body: <p>I'm using MVC 3 and Razor</p>
  
  <p>At the moment I'm using</p>
  
  <pre><code>@model MyProject.ViewModels.MyViewModel
  
      @foreach (var item in Model.MyProperty)
  {  
      &lt;tr&gt;
          &lt;td&gt;
              @Html.ActionLink("Edit", "Edit", new { id = item.AdvSlotId }) |
              @Html.ActionLink("Details", "Details", new { id = item.AdvSlotId }) |
              @Html.ActionLink("Delete", "Delete", new { id = item.AdvSlotId })
          &lt;/td&gt;
          &lt;td&gt;
              @item.AdvSlotId
          &lt;/td&gt;
          &lt;td&gt;
              @item.Name
          &lt;/td&gt;
          &lt;td&gt;
              @item.Description
          &lt;/td&gt;
          &lt;td&gt;
               @Html.CheckBox(item.IsPublished, new { @disabled = "disabled" })
          &lt;/td&gt;
          &lt;td&gt;
              @item.Notes
          &lt;/td&gt;
      &lt;/tr&gt;    
  }
  </code></pre>
  
  <p>The VIEW MODEL:</p>
  
  <pre><code>namespace MyProject.ViewModels
  {
      public class MyViewModel
      {
          public MyViewModel(List&lt;AdvSlot&gt; advSlots)
          {
              MyProperty= advSlots;
          }
  
          public List&lt;AdvSlot&gt; MyProperty { get; set; }
  
      }
  }
  </code></pre>
  
  <p>To display a Check Box for a property in my Model. As I'm doing is wrong so I can only display a text like TRUE.</p>
  
  <p>Could you please tell me how to create the CheckBox with Razor? I would also need have it as READONLY.</p>
  
  <p>Thanks for your help.</p>