Does anyone know if its possible to have a nested repeater, with the nested repeater initially collapsed and expandable via the ajax CollapsiblePanelExtender
Code:<asp:Repeater ID="rptDrill" runat="server"> <HeaderTemplate> <table> <tr> <th class="FormDesciptionBox">View</th> <th class="FormDesciptionBox">Username</th> <th class="FormDesciptionBox">Fullname</th> <th class="FormDesciptionBox">Score</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td class="FormContentBox"><asp:ImageButton ImageUrl="~/image/expander.gif" runat="server" ID="imgToggle" /></td> <td class="FormContentBox"><asp:Literal ID="litUserName" runat="server" /></td> <td class="FormContentBox"><asp:Literal ID="litFullname" runat="server" /></td> <td class="FormContentBox"><asp:Literal ID="litAverage" runat="server" /></td> </tr> <cc1:CollapsiblePanelExtender runat="server" ID="CollapsiblePanelExtender1" TargetControlID="ShowHide" CollapsedSize="0" ExpandedSize="300" Collapsed="True" ExpandControlID="imgToggle" CollapseControlID="imgToggle" ImageControlID="imgToggle" SuppressPostBack="true" SkinID="CollapsiblePanelDemo"> </cc1:CollapsiblePanelExtender> <asp:Repeater runat="server" ID="rptDrillNest"> <ItemTemplate> <asp:Panel ID="ShowHide" runat="server"> <tr> <td class="FormContentBox"> </td> <td class="FormContentBox"><%#Eval("title")%></td> <td class="FormContentBox"><%#Eval("datetook")%></td> <td class="FormContentBox"><%#Eval("score")%></td> </tr> </asp:Panel> </ItemTemplate> </asp:Repeater> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater>




Reply With Quote