- Home
- Forum
- ASP.NET MVC
- Problems setting up the IDE
Problems setting up the IDE
Thanks for contacting Syncfusion support.
Please find the following steps in order to create the simple schedule MVC application in DNX framework.
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
Thanks for your update.
We request you to follow the given below links to create an application in MVC 5. There is no need of DNX framework to create a simple MVC 5 application.
Knowledge Base Link:
https://www.syncfusion.com/kb/3606/how-to-add-the-ejmvc-schedule-control-in-the-mvc-application
User Guide Link:
http://help.syncfusion.com/aspnetmvc/schedule/getting-started
If you wish to create a simple MVC 6 application, follow the steps provided in our previous update where we have attached the simple MVC 6 sample. If the issue still persists at your end, try to reproduce the error in the above sample and get back to us by creating incidents through direct trac support system. Follow the given link to create an incident.
Incident Creation:
http://help.syncfusion.com/aspnetmvc/schedule/getting-started
Regards,
Karthigeyan
A support incident to track the status of this issue has been created under your accounts. Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Regards,
Yasmin
- 15 Replies
- 4 Participants
-
TK Tommy Klausen
- Nov 23, 2015 02:06 PM UTC
- Dec 9, 2015 05:38 AM UTC