Hi,
Is it possible to bind data to accordion control inside a repeater control? I am trying, but the page doens't display the bound values. Following is the example:
Thank u
Is it possible to bind data to accordion control inside a repeater control? I am trying, but the page doens't display the bound values. Following is the example:
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><asp:Panel ID="pnlShowResults" runat="server"><cc1:Accordion ID="Accordion1" runat="server" AutoSize="None" FadeTransitions="true" FramesPerSecond="40" SelectedIndex="1" TransitionDuration="250"><asp:Repeater ID="Repeater1" runat="server"><HeaderTemplate> Starting here</HeaderTemplate><ItemTemplate><asp:Label ID="test" runat="server" Text='<%#Eval("givenName")%>'></asp:Label><br /><cc1:AccordionPane runat="server" ID="acPane"><Header><a class="accordionLink" href="" onclick="return false;"><%#Eval("givenName")%></a><asp:Label ID="Label2" runat="server" Text='<%#Eval("givenName")%>'></asp:Label></Header><Content> The Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several<asp:Label ID="testCo" runat="server" Text='<%#Eval("company") %>'></asp:Label><br /><%'#Eval("telephoneNumber") %><br /><%'#Eval("mail") %></Content></cc1:AccordionPane></ItemTemplate><FooterTemplate> Finishing here</FooterTemplate></asp:Repeater></cc1:Accordion></asp:Panel>The data displays properly on line 10, but nothing within Accordion panel. Can someone help please?
Thank u