title: calling a function in repeater asp.net
body: <p>I want to call a function to bind data to Repeater . Do I need to Set dataSource Property of this control or Repeater .DataBind() will work.</p>
  
  <pre><code>&lt;asp:Repeater ID="RepeaterDays" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;ul&gt;
              &lt;asp:Label ID="lblDays" runat="server" Text='&lt;%#ChandanIdiot()%&gt;'&gt;&lt;/asp:Label&gt;
          &lt;/ul&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>I have written RepeaterDays.Databind(), but the function is not called.</p>
  
  <p>This is displaying nothing.</p>