title: Razor View Engine : An expression tree may not contain a dynamic operation
body: <p>I have a model similar to this:</p>
  
  <pre><code>public class SampleModel
  {
       public Product Product { get; set; } 
  }
  </code></pre>
  
  <p>And in my controller I get an exception trying to print out</p>
  
  <pre><code>@Html.TextBoxFor(p =&gt; p.Product.Name)
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Exception: An expression tree may not contain a dynamic operation
  </code></pre>
  
  <p>If anyone can give me some clues on how to fix this I would really appreciate it!</p>