title: Repeater's SeparatorTemplate with Eval
body: <p>is it possible to use Eval or similar syntax in the SeparatorTemplate of a Repeater?</p>
  
  <p>Id' like to display some info of the last item in the separator template like this:</p>
  
  <pre><code>&lt;table&gt;
      &lt;asp:Repeater&gt;
          &lt;ItemTemplate&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;%# Eval("DepartureDateTime") %&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;%# Eval("ArrivalDateTime") %&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/ItemTemplate&gt;
          &lt;SeparatorTemplate&gt;
              &lt;tr&gt;
                  &lt;td colspan="2"&gt;Change planes in &lt;%# Eval("ArrivalAirport") %&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/SeparatorTemplate&gt;
      &lt;asp:Repeater&gt;
  &lt;table&gt;
  </code></pre>
  
  <p>Hopping that it'll generate something like this:</p>
  
  <pre><code>&lt;table&gt;
      &lt;asp:Repeater&gt;
              &lt;tr&gt;
                  &lt;td&gt;2009/01/24 10:32:00&lt;/td&gt;
                  &lt;td&gt;2009/01/25 13:22:00&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td colspan="2"&gt;Change planes in London International Airport&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;2009/01/25 17:10:00&lt;/td&gt;
                  &lt;td&gt;2009/01/25 22:42:00&lt;/td&gt;
              &lt;/tr&gt;
      &lt;asp:Repeater&gt;
  &lt;table&gt;
  </code></pre>
  
  <p>But the SeparatorTemplate seems to be ignoring the Eval() call. I tried using also the previous syntax like this: &lt;%# DataBinder.Eval(Container.DataItem, "ArrivalAirport")%> with the same results.</p>
  
  <p>Is it possible to display information of the previous item in a SeparatorTemplate? If not, can you suggest an alternative way to generate this code?</p>
  
  <p>Thanks</p>