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:
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