Sudarvizhi J

Sudarvizhi J

  • NA
  • 101
  • 23.9k

How to use item template control in header template

Sep 18 2017 9:13 AM
How to use item template control in header template using repeater control. For example
In aspx Page: 
<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate> 
<div id="headeritemdiv" runat="server">
test Header 
</HeaderTemplate>  
<ItemTemplate> 
<div id="itemdiv" runat="server">Test</div> 
</ItemTemplate> 
<FooterTemplate>
</div>
</FooterTemplate>
</asp:Repeater> 
 
If itemtemplate control hide means and header template div also hide. How to do .
Please explain ASAP