Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ASP.NET
<asp:Accordion ID="Accordion4" runat="server" HeaderCssClass="accordionHeader" 
            HeaderSelectedCssClass="accordionHeaderSelected" 
                ContentCssClass="accordionContent" AutoSize="None" FadeTransitions="true"
    TransitionDuration="250"
    FramesPerSecond="40"
    RequireOpenedPane="False"
    SuppressHeaderPostbacks="true" Height="40px" Width="260px">
 <Panes>
<asp:AccordionPane ID="AccordionPane4" runat="server">
                                      <Header>
                                        More
                                        </Header>
                                        <Content>
                                          will be soon
                                        </Content>
                                    </asp:AccordionPane>
</Panes>

                                                    
                                </asp:Accordion> 
Posted

1 solution

The Accordion is written using an extender like most of the other extenders in the AJAX Control Toolkit. The extender expects its input in a very specific hierarchy of container elements (like divs), so the Accordion and AccordionPane web controls are used to generate the expected input for the extender.

The Best Example ..see this link

http://www.aspdotnet-suresh.com/2011/04/ajax-accordion-control-example-or-how.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900