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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Open an Accordion item when control is loaded using Content Template

Thread ID:

Created:

Updated:

Platform:

Replies:

149936 Dec 15,2019 02:45 PM UTC Dec 17,2019 06:09 AM UTC ASP.NET Core - EJ 2 3
loading
Tags: Accordion
Carl Ford
Asked On December 15, 2019 02:45 PM UTC

I have an Accordion control that uses a content template with 5 items.  When the control is loaded, I would like the 2nd item to be expanded and the rest closed.  Currently on load all are closed and I have to click on one to expand. 

Hareesh Balasubramanian [Syncfusion]
Replied On December 16, 2019 12:27 PM UTC

Hi Carl, 

Greetings from Syncfusion Support. 

Based on your requirement we have prepared a sample, to expand the second item on the initial load using created event and expandMode property is used to expand/ collapse a single / multiple Accordion item. 


Kindly try the above sample, if you have any concerns please revert us back for further assistance. 

Regards, 
Hareesh 


Carl Ford
Replied On December 16, 2019 06:00 PM UTC

Thank you Hareesh.  That is exactly what I was looking for.

Carl

Vinitha Devi Murugan [Syncfusion]
Replied On December 17, 2019 06:09 AM UTC

Hi Carl, 
 
Thanks for your update. 
 
We are happy to hear that our solution has fulfilled your requirement.  
 
Regards, 
M.Vinitha devi 


CONFIRMATION

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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon