Please see the code below. i am not able to get this to work. When i click on Activities in Header, the content doesnt show up. what am i doing wrong here?? please help...

thanks in advance

<aj1:Accordion ID="Accordion1" runat="server" SelectedIndex="-1" HeaderCssClass="navlinkI" ContentCssClass="subnav" AutoSize="None" HeaderSelectedCssClass="navlink" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true">
<Panes>
<aj1:AccordionPane runat="server" ID="ap1" >
<Header >
<img alt="" src="Images/ball12.gif" style="border:0; vertical-align:middle" />&nbsp; Activities
</Header>
<Content>
<asp:DataList ID="dlActivities1" runat="server" DataSourceID="sds2" >
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Activity_Name") %>' Visible="false"></asp:Label>
<asp:LinkButton ID="lnkActivities" CausesValidation="false" runat="server" Text='<%# Eval("Activity_Name") %>' OnClick="lnkActivities_OnClick" CommandArgument='<%# DataBinder.Eval(Container.DataItem,("ActivityID")) %>' ></asp:LinkButton>
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="sds2" runat="server" ConnectionString="<%$ ConnectionStrings:kConnectionString %>" SelectCommand="Units_Get" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
</Content>
</aj1:AccordionPane>
</Panes>
</aj1:Accordion>

- Use CODE tags

- This is not the asp(.net) forum

- This is XML, and we dont know how you process it

~G

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.