title: Using foreach with ASP.NET view engine inside a ASP: Repeater is not working
body: <p>I have a ASP: Repeater, I need to use a foreach loop using ASP.NET view engine</p>
  
  <p>But I have ran into a issue.</p>
  
  <p>Here is the code inside the repeater:</p>
  
  <pre><code>           &lt;%# cart = (CartDTO)Container.DataItem %&gt;
  
                        &lt;% foreach (var item in cart.Products)
                         { %&gt; 
                          &lt;p&gt;&lt;%= item.Title %&gt;&lt;/p&gt;
                        &lt;% }%&gt;
  </code></pre>
  
  <p>The problem here is that nothing renders out. I have found the issue. I have to use <code>&lt;%#</code> instead of <code>&lt;%=</code> that will render it. But the issues is that &lt;%# does not work in a ASP: Repeater. Item becomes "Cannot resolve "Item" symbol.</p>
  
  <p>Is there any solutions for this?</p>