title: Cannot convert lambda expression to type 'Delegate' because it is not a delegate type MVC 5
body: <p>I know these question(s) has been asked </p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/19197481/cannot-convert-lambda-expression-to-type-string-because-it-is-not-a-delegate-t">Cannot convert lambda expression to type &#39;string&#39; because it is not a delegate type</a></li>
  <li><a href="https://stackoverflow.com/questions/2058487/entity-framework-cannot-convert-lambda-expression-to-type-string-because-it">Entity Framework - Cannot convert lambda expression to type &#39;string&#39; because it is not a delegate type</a></li>
  </ol>
  
  <p>But none of them has helped me to find the problem that i am facing </p>
  
  <p>i have tried to use this solution </p>
  
  <pre><code>&lt;div class="form-group"&gt;
       @Html.LabelFor(model =&gt; model.Postcode_area_name, htmlAttributes: new { @class = "control-label col-md-2" })
      &lt;div class="col-md-10"&gt;
   @Html.TextBox(model =&gt; model.Postcode_area_name, new { disabled = "disabled", @readonly = "readonly" })
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>to make one edit field read only, but i do get an error of 
  Cannot convert lambda expression to type 'Delegate' because it is not a delegate type
  i do use entity frame work and these using </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Data;
  using System.Data.Entity;
  using System.Linq;
  using System.Net;
  using System.Web;
  using System.Web.Mvc;
  using CRM2.Models;
  </code></pre>
  
  <p>the suggestion on other questions are that using </p>
  
  <pre><code>using System.Data.Entity;
  using System.Linq;
  </code></pre>
  
  <p>should fix the problem but it does not work for me 
  I am using MVC 5</p>
  
  <p>i have fixed the issue by using this solution</p>
  
  <pre><code>@Html.DisplayFor(model =&gt; model.Postcode_area_name)
  @Html.HiddenFor(model =&gt; model.Postcode_area_name)
  </code></pre>
  
  <p>but because i am new on MVC and entity frame work i want learn why the other way throw an error </p>
  
  <p>Sorry for English "mistake"
  Thank you </p>