|120834||Oct 20,2015 07:36 PM||Oct 21,2015 07:51 AM||ASP.NET MVC||1|
Sorry for the inconvenience. Currently we are cleaning up the getting started documentation of ASP.NET MVC components so it is temporarily removed from our online help link. It will be published soon once the documentation review phase is completed. For your convenience we have attached the documentation that is in review phase. Please refer to the below documentation for getting started with ASP.NET MVC components.
Documentation link: EJMVC getting started documentation
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 to the page No 147 (in the above attached documentation) to know about adding the DLLs from GAC location. In page No. 149 we have explained how to refer to 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">
<!--Syncfusion.Core dll is not needed. we have removed this dll in our latest version 220.127.116.11-->
<add assembly="Syncfusion.EJ, Version=13.3400.0.7, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
<add assembly="Syncfusion.EJ.Mvc, Version=13.3400.0.7, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
<add key="ClientValidationEnabled" value="true"/>
For more details about namespaces, please refer to the page No. 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 No. 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 documentation to know about the CSS and script reference.
Necessary theme file
· Refer page No. 156 in document to include necessary themes
Apart from the above common scripts, it is also necessary to refer the ej.web.all.min.js file in your application, which contains all our ej components scripts in minified format. Instead of using ej.web.all.min.js script, if you want to use individual scripts, which is used to render file explorer component. Custom script generator will be helpful to you. Please refer below link to include only the needed widgets.
Using the helper to render the components.
After completing the above steps successfully, now you can render our components by using the Helper in your view page as well as added an action to the controller rendering this view.
Run the application to see the component in action.
For you reference we have attached a File explorer sample (created with version 18.104.22.168) in the following location, please check it.
Please refer to the following link to know about the important features available in each EJMVC component:
You can see the demo of all EJMVC components from the following link,
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.