Hello,
I have kendo scheduler with adaptive rendering and works fine on android and ios browsers if i edit an event by tapping and then save or cancel and editor closed. the scheduler view refreshes without problem. Problem happens when i have a default eventid and i popup edit window using editEvent in scheduler_databound .
function scheduler_dataBound(e) {
var start = kendo.format('{0:d}', this.view().startDate());
var end = kendo.format('{0:d}', this.view().endDate());
var rootDir = "@Url.Content("~/")";
$.ajax({
url: rootDir + "Scheduler/LoadEventID",
async: false,
cache: false,
timeout: 30000,
success: function (state) {
// alert(state);
if (state) {
var eventuid;
var model = $("#scheduler").data("kendoScheduler").dataSource;
var event = model.get(state);
$("#scheduler").data("kendoScheduler").editEvent(event);
}
}
});
}
Works fine on desktop browsers. On tablet phone browsers this opens the correct event with all details. But when i save or cancel and edit window is gone there is just a gray area. I do not see the scheduler unless i reload page. If i call scheduler read and refresh that does not help
Thanks
Anamika
I have kendo scheduler with adaptive rendering and works fine on android and ios browsers if i edit an event by tapping and then save or cancel and editor closed. the scheduler view refreshes without problem. Problem happens when i have a default eventid and i popup edit window using editEvent in scheduler_databound .
function scheduler_dataBound(e) {
var start = kendo.format('{0:d}', this.view().startDate());
var end = kendo.format('{0:d}', this.view().endDate());
var rootDir = "@Url.Content("~/")";
$.ajax({
url: rootDir + "Scheduler/LoadEventID",
async: false,
cache: false,
timeout: 30000,
success: function (state) {
// alert(state);
if (state) {
var eventuid;
var model = $("#scheduler").data("kendoScheduler").dataSource;
var event = model.get(state);
$("#scheduler").data("kendoScheduler").editEvent(event);
}
}
});
}
Works fine on desktop browsers. On tablet phone browsers this opens the correct event with all details. But when i save or cancel and edit window is gone there is just a gray area. I do not see the scheduler unless i reload page. If i call scheduler read and refresh that does not help
Thanks
Anamika