Hello,
It's the first time i'm using EJ2 Schedule and the basic exemple i've found on the documentation works :
@Html.EJS().Schedule("schedule").Render()
But when i try to use data binding following the "Performing CRUD actions" section on the documentation , like this :
@Html.EJS().Schedule("schedule").Width("100%").Height("550px").EventSettings(e => e.DataSource(d => d.Url("http://localhost:2777/Agenda/GetData" + "?Id=" + ViewBag.Id).CrudUrl("http://localhost:2777/Agenda/Crud" + "?Id=" + ViewBag.Id).Adaptor("UrlAdaptor").CrossDomain(true))).SelectedDate(DateTime.Now).Render()
I get this javascript error and nothing is displayed :
Uncaught TypeError: ej.data.DataManager is not a constructor at Agenda:332
Agenda:332 :
<script>var Schedule1qsvhgniqlx=new ejs.schedule.Schedule({
"agendaDaysCount": 7.0,
"eventSettings": {
"dataSource": new ej.data.DataManager({
"url": "http://localhost:2777/Agenda/GetData?Id=*MyId*",
"adaptor": null,
"insertUrl": null,
"removeUrl": null,
"updateUrl": null,
"crudUrl": "http://localhost:2777/Agenda/Crud?Id=*MyId*",
"batchUrl": null,
"json": null,
"headers": null,
"accept": false,
"data": null,
"timeTillExpiration": 0,
"cachingPageSize": 0,
"enableCaching": false,
"requestType": null,
"key": null,
"crossDomain": true,
"jsonp": null,
"dataType": null,
"offline": false,
"requiresFormat": false,
"Id": null
})
},
"firstDayOfWeek": 0.0,
"height": "550px",
"selectedDate": "2018-10-24T10:33:47.9202397+02:00",
"width": "100%"
});I've got EJ1 and EJ2 installed on the same project , mabye it comes from that ?
I can't find how to uninstall only EJ1 , I don't use it anymore .
I also got troubles installing EJ2 , it dosen't worked with Essential studio Entreprise Edition and it says on the documentation :
- Follow the steps mentioned in the setup guide and install the specific/entire platform in your machine.
But "setup guide" is a dead link ("https://help.syncfusion.com/common/essential-studio/essential-studio-installer-for-individual-platform") , so i've maybe skipped important steps.
Thanks you for your time .