title: set header in repeater to visible.false
body: <p>using a repeater to display a list, if the list returns empty the table will be blank, so I have displayed a message 'table is empty' but i also want to set the visibility of the table header to false, is there a property for tis?</p>
  
  <p>repeater.header or something?</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>EDIT: for those who cant program in the dark</p>
  
  <pre><code>&lt;asp:Repeater id="rptSelectedUtilities" runat="server"&gt;
      &lt;HeaderTemplate&gt;
          &lt;table class="detailstable FadeOutOnEdit"&gt;
              &lt;tr&gt;   
                  &lt;th style="width:200px;"&gt;Utility&lt;/th&gt;    
                  &lt;th style="width:200px;"&gt;Contacted&lt;/th&gt;   
                  &lt;th style="width:200px;"&gt;Comment&lt;/th&gt;    
              &lt;/tr&gt;
      &lt;/HeaderTemplate&gt;
      &lt;ItemTemplate&gt;
              &lt;tr&gt;
                  &lt;th style="width:200px;"&gt;&lt;%# Eval("Name") %&gt;&lt;/th&gt;
                  &lt;th style="width:200px;"&gt;&lt;asp:CheckBox ID="chkMyCheck" runat="server" Checked='&lt;%# Convert.ToBoolean(Eval("Checked")) %&gt;'/&gt;&lt;/th&gt;   
                  &lt;th style="width:200px;"&gt;&lt;%# Eval("Comment") %&gt;&lt;/th&gt;  
              &lt;/tr&gt;
              &lt;asp:Label id="labelTableEmpty" runat="server" Text="There are currently no items in this table." /&gt;
      &lt;/ItemTemplate&gt;
      &lt;FooterTemplate&gt;
              &lt;asp:Label id="labelTableEmpty" runat="server" Text="There are currently no items in this table." /&gt;
          &lt;/table&gt;
      &lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>thanks for any help</p>