We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Accordion closed on load

Thread ID:





121797 Jan 26,2016 01:01 PM UTC Jan 27,2016 10:37 AM UTC ASP.NET MVC 1
Tags: Accordion
Tom Bakker
Asked On January 26, 2016 01:01 PM UTC

I would like my accordion to be fully closed on load. Is this achievable? My project uses MVC4.

Francis Paul Antony Raj [Syncfusion]
Replied On January 27, 2016 10:37 AM UTC

Hi Tom,

Thanks for contacting Syncfusion support.

Yes, you can achieve your requirement “Collapse all the header and content panel” using “collapseAll()” method. You need to set the ejAccoridon’s, Collapsible property value to true to enable the collapsible state of the Accordion. Please refer to the following code snippet.


@Html.EJ().Accordion("basicAccordion").Items(data =>





               }).Collapsible(true).ClientSideEvents(a => a.Create("create"))

    function create(args) {

        acrdnObj = $("#basicAccordion").data("ejAccordion");



To know more about Accordion properties, methods and events, please refer to the link: http://help.syncfusion.com/js/api/ejaccordion

To know more about getting started with Accordion, refer to: http://help.syncfusion.com/aspnetmvc/accordion/overview


Francis Paul A.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon