Data returned but not loaded to the scheduler


I am using the

var data = new SchedulerAjaxData((new ScheduledActivitiesDataContext()).Retrieve());
            data.DateFormat = "%d/%m/%Y %H:%i";
            return data;

method for returning data to the view, but i am suddenly unable to display the events in the scheduler.

make sure you use same date format for configuration and data.
If this doesn’t help, check events in db for null values in start_date and end_date, maybe some event was saved incorrectly. null dates will cause js error and events wount be rendered

Resolved by deleting the null dates.