How to display the table header when asp:Repeater and UI:Grid data is empty in ASP.NET WebForm?

1. asp:Repeater The Repeater control is used to display a repeating list of items bound to the control. Repeater controls can be bound to database tables, XML files, or other lists of items. 1.1-Foreground page code <asp:Repeater ID=”ImageTypeListNew” runat=”server” OnItemCommand=”ImageTypeListNew_ItemCommand”> <HeaderTemplate> <table cellspacing=”0″ border=”0″ id=”ctl00_contentHolder_ImageTypeList” class=”table table-striped”> <tbody> <tr> <th>Category name</th> <th>number of images</th> <th>sort</th> […]