In the extension package of ASPnet Ajax 1.0, we found that there is a good control according, which actually means to fold the control. For example, a page has three parts to be displayed, because the page
The size of the toolbar ). The code is simple, note it
<Ajaxtoolkit: toolkitscriptmanager id = "scriptmanager1" runat = "server"/>
<Div>
<Ajaxtoolkit: accordion id = "regular" runat = "server" fadetransitions = "true" selectedindex = "0" transitionduration = "300" encoding = "accordionheader" encoding = "accordioncontent">
<Panes>
<Ajaxtoolkit: accordionpane id = "accordionpane1" runat = "server">
<Header> Ajax pane
<Content>
Content 1
</Content>
</Ajaxtoolkit: accordionpane>
<Ajaxtoolkit: accordionpane id = "accordionpane2" runat = "server">
<Header> my test pane
</Header>
<Content>
Content 2
</Content>
</Ajaxtoolkit: accordionpane>
<Ajaxtoolkit: accordionpane id = "accordionpane3" runat = "server">
<Header> This is last pane
</Header>
<Content>
Content 3
</Content>
</Ajaxtoolkit: accordionpane>
</Panes>
</Ajaxtoolkit: accordion>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service