Hi Hoai An,
Thanks for contacting Syncfusion support.
We have checked your sample. Please modify your code sample as mentioned below to render the Syncfusion Components in MVC 6 using HTML Helper.
@{Html.EJ().DatePicker("MyFirstDatePicker").Render();}
|
We recommended that please use Tag Helper syntax for rendering the Syncfusion controls in MVC 6. Since nested controls and controls having content template option are not rendered properly in MVC 6 if you are using HTML Helper syntax. To getting started with Syncfusion components in MVC 6, please refer to Getting Started – MVC 6.
Please let us know, if you need any further assistance.
Regards,
Francis Paul A