Accordion not expanding
-
Hi, i've made a page with Ajax accordion, but its not expanding or collapsing this is the code i've made:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:AccessDataSource ID="AccessDataSource2" runat="server"
DataFile="~/App_Data/Data2.mdb"SelectCommand="SELECT \[id\], \[day\], \[desc\] FROM \[days\] WHERE (\[id\] = ?)"> <SelectParameters> <asp:QueryStringParameter Name="id" QueryStringField="id" Type="String" /> </SelectParameters> </asp:AccessDataSource> <cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0" ContentCssClass="Content" HeaderCssClass="HEADER" HeaderSelectedCssClass="accordionHeaderSelected" AutoSize="None" FadeTransitions="true" RequireOpenedPane="false" TransitionDuration="100" SuppressHeaderPostbacks = "true" DataSourceID="AccessDataSource2" > <HeaderTemplate> <%#DataBinder.Eval(Container.DataItem, "day")%> </HeaderTemplate> <ContentTemplate>
<%#DataBinder.Eval(Container.DataItem, "desc")%>
</ContentTemplate></cc1:Accordion>
any ideas?
-
Hi, i've made a page with Ajax accordion, but its not expanding or collapsing this is the code i've made:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:AccessDataSource ID="AccessDataSource2" runat="server"
DataFile="~/App_Data/Data2.mdb"SelectCommand="SELECT \[id\], \[day\], \[desc\] FROM \[days\] WHERE (\[id\] = ?)"> <SelectParameters> <asp:QueryStringParameter Name="id" QueryStringField="id" Type="String" /> </SelectParameters> </asp:AccessDataSource> <cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0" ContentCssClass="Content" HeaderCssClass="HEADER" HeaderSelectedCssClass="accordionHeaderSelected" AutoSize="None" FadeTransitions="true" RequireOpenedPane="false" TransitionDuration="100" SuppressHeaderPostbacks = "true" DataSourceID="AccessDataSource2" > <HeaderTemplate> <%#DataBinder.Eval(Container.DataItem, "day")%> </HeaderTemplate> <ContentTemplate>
<%#DataBinder.Eval(Container.DataItem, "desc")%>
</ContentTemplate></cc1:Accordion>
any ideas?
Have a look at the implementation of Accordian here and you might be able to resolve it: Working with Accordion AJAX Control[^] Ajaxtoolkit Accordian Sample[^]
-
Have a look at the implementation of Accordian here and you might be able to resolve it: Working with Accordion AJAX Control[^] Ajaxtoolkit Accordian Sample[^]