Note: xxxx denotes the build version(with beta version) installed in your local machine.
<Code>
@using Syncfusion.JavaScript,
@using Syncfusion.MVC.EJ,
@using Syncfusion.JavaScript.Shared
</Code>
<Code>
@Html.EJ().ScriptManager()
</Code>
<Code>
@{Html.EJ().Schedule("Schedule1").Render();}
</Code>
Regards,
Karthigeyan
Thanks for your update.
The version number you got under the project.json file and under the reference section are correct. Please find the detailed steps below for including required css and script file.
1. Create a folder named ej under wwwroot->css. In that ej folder include the required css files as shown in the below image.
2. Create a folder structure scripts->ej under wwwroot. Include ej.web.all.min file under ej folder and other files as shown in the below image outside the ej folder
Note: Required css files will be available under C:\Users\karthigeyan\AppData\Local\Syncfusion\EssentialStudio\XXXX\JavaScript\samples\web\themes. Required script files will be available under C:\Users\karthigeyan\AppData\Local\Syncfusion\EssentialStudio\XXXXX\JavaScript\samples\web\scripts. XXXX will be the build version installed in your local machine.
3. Refer the included css file under views->Shared->_Layout.cshtml as shown in the below image.
4. Refer the included script files under views->Shared->_Layout.cshtml as shown in the below image.
Note: jquery file first highlighted in the image will be included by default.
Regards,
Karthigeyan
"Syncfusion.EJ": "13.3600.0.7-beta"
in poject.json, but get an error says
Dependency Syncfusion.EJ >= 13.3600.0.7-beta could not be resolved
Hi Tommy/ Yuanpeng
We suspect that your applications have been created in beta version 8. Since, our Volume 3 main release (13.3.0.7) and Service Pack1 (13.3.0.12) support beta version 5, we request you to downgrade your application to beta version 5.
If the issue still persists at your end, kindly share code example/sample, if possible, to analyze the mentioned scenario and provide the possible solution. 1. You need to install v13.2.0.34 or later versions. Once you have installed the Essential studio for MVC, you will get the assemblies in GAC and you can add “Syncfusion.EJ” nuget package in project.json file. 2. To use the Syncfusion EJ MVC components, you need to have some packages installed. So, please install packages from nuget.org and ASPNETVNext as shown in the below link. If you have previously configured any package, uncheck them and install the packages from these two URL’s as shown in the following link 3. Then, open the console and type “dnvm”. Once it is done, type “dnvm use 1.0.0-beta5 -p” (only for downgrading to beta version5) / “dnvm upgrade” 4. Now, restart the Visual studio and create the MVC 6 project. 5. Add the Syncfusion.EJ nuget package in “project.json” file. 6. Then, add the following namespaces in “Viewimports.cshtml” page. @using Syncfusion.JavaScript @using Syncfusion.EJ.MVC </Code>
We have created a sample in MVC6 which can be downloaded from the below location.
Sample Link: http://www.syncfusion.com/downloads/support/forum/121244/ze/MVC6Sample356650683
In order to use MVC6, you may have to follow the below procedure.
https://github.com/aspnet/Home/wiki/Configuring-the-feed-used-by-dnu-to-restore-packages
<Code>
7. Now, you can use the EJ MVC components.
Note: Since, our Volume 3 main release (13.3.0.7) and Service Pack1 (13.3.0.12) support beta version 5, we have downgraded the application to beta version 5 in point 3. From our Volume 3 Service Pack 2, beta version8 will be supported.
Regards,
Karthigeyan
Regards,
Yasmin