Bind data to a control inside the headertemplate of a repeater
<p>I am trying to bind data to a label control inside the headertemplate. I have tried itemdataboud but the value is not displayed. When I put the control inside the itemtemplate then the value is displayed. Why can't I bind to a control inside the headertemplate? </p>

<pre><code>&lt;HeaderTemplate&gt;
&lt;asp:Label runat="server" ID="lblTitle"&gt;&lt;/asp:Label&gt;
&lt;/HeaderTemplate&gt;
</code></pre>

<p>I have used this as well: <code>&lt;%# DataBinder.Eval(Container.DataItem,"Title")%&gt;</code> but I cannot get it to work.</p>

<p>Help please</p>
