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

Accordion Height

Thread ID:

Created:

Updated:

Platform:

Replies:

125644 Aug 30,2016 01:45 PM Aug 31,2016 05:06 AM ASP.NET MVC 1
loading
Tags: Accordion
Arun Gandhi
Asked On August 30, 2016 01:45 PM

Hello, 

How I can set the height of Accordion Item? Please let me know.

Thanks


Kasithangam C [Syncfusion]
Replied On August 31, 2016 05:06 AM

Hi Arun,   
  
Thanks for contacting Syncfusion support.   
  
We had a property called” HeightAdjustMode” which is used to adjust only the content panel height of Accordion control. Please find the below code snippet to specify the height adjust mode:   
<code> 
@{Html.EJ().Accordion("basicAccordion").Items(data => 
               { 
                   data.Add().Text("Essential Chart").ContentTemplate(@<div> 
                   Essential Chart for ASP.NET MVC  
               </div>); 
               }).HeightAdjustMode(HeightAdjustMode.Content).Render();}    
</code> 

We have prepared a sample based on this and it is available under the following link: 

Sample: Sample 

Also, we had showcased options to adjust the height of the content panel in the following API link: 

  
Please find the UG link for the same: 


Regards, 
Kasithangam 


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.

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

;