Member
353 Points
1551 Posts
Dec 16, 2016 09:03 PM|dlchase|LINK
I have a ListView that I want to output both a THEAD and a TBODY element. Currently it just outputs a TABLE and TBODY followed by the heading and data contents in separate TR elements. My LayoutTemplate is below. What am I missing?
<LayoutTemplate> <table id="Table1" runat="server" border="0" cellpadding="0" cellspacing="0" width="99%" class="scrollTable"> <thead class="fixedHeader"> <tr> <th id="Th1" runat="server"> LogID</th> <th id="Th2" runat="server"> LoginDateTime</th> <th id="Th3" runat="server"> LogType</th> <th id="Th4" runat="server"> RecordID</th> <th id="Th5" runat="server"> VendorID</th> <th id="Th6" runat="server"> InsuranceID</th> <th id="Th7" runat="server"> LogSubType</th> </tr> </thead> <tbody class="scrollContent"> <tr ID="itemPlaceholder" runat="server"> </tr> </tbody> </table> </LayoutTemplate>
Member
353 Points
1551 Posts
ListView not creating thead
Dec 16, 2016 09:03 PM|dlchase|LINK
I have a ListView that I want to output both a THEAD and a TBODY element. Currently it just outputs a TABLE and TBODY followed by the heading and data contents in separate TR elements. My LayoutTemplate is below. What am I missing?