Basic steps for adding EJMVC components in the MVC application:
Adding References and Assemblies
After creating an MVC application, add the necessary dlls to your application to render the EJMVC components. You can refer the page no 147 (in the documentation which is attached above) to know about adding the dlls from GAC location. In page number 149 we have explained how to refer the assemblies from installed location.
After adding required dlls, you have to register the assemblies in web.config in appropriate location as shown below.
<compilation debug="true" targetFramework="4.5.2">
<!--Syncfusion.Core dll is not needed. we have removed this dll in our latest version 22.214.171.124-->
<add assembly="Syncfusion.EJ, Version=13.2450.0.29, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
<add assembly="Syncfusion.EJ.Mvc, Version=13.2500.0.29, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
<add key="ClientValidationEnabled" value="true"/>
For more details, please refer page 155 in the documentation.
Please add the necessary namespaces in the web.config file as shown below.
For more details about namespaces, please refer page 155 in the documentation.
Adding Scripts and CSS reference.
To render the Syncfusion MVC controls, it is necessary to refer the required CSS and Script files into your application. Please refer from Page number 156 in to know about the scripts and CSS reference.
Using the helper to render the components.
After completing the above steps successfully, now you can render our components by using the Helper, as shown below