Alright guys
I am trying to add content to an accordion and create accordion panes dynamically.
I have the following accordion code...
<asp:Accordion ID="Accordion2" runat="server">
<HeaderTemplate><asp:Label ID="Label12" runat="server" Text='<%# Bind("Name") %>'><%#DataBinder.Eval(Container.DataItem, "Name" )%></asp:Label>
</HeaderTemplate>
<ContentTemplate><asp:Label ID="Label12" runat="server" Text='<%# Bind("Name") %>'></asp:Label> </ContentTemplate>
</asp:Accordion>
And I was trying to add content to it by using the following...
DataSet dst = new DataSet();
dst = rubbish.GetCompetitions();
Accordion2.DataSource = dst;
Accordion2.DataB ...
Go to the complete details ...