Hi all,
I am using Version 6.6.2359 (Trial). I have two schedulers on my form (one showing rooms as resources the other one trainers). When I am moving an event in the rooms scheduler, the trainer scheduler never shows the updated data. I am updating the data for both schedulers like this:
protected void roomScheduler_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
{
CourseManager.MoveCourse(new Guid(e.Value), new Guid(e.NewResource), e.NewStart);
BindSchedules();
}
private void BindSchedules( )
{
DataSet dsRoom = CourseManager.GetRoomSchedule( );
roomScheduler.DataSource = dsRoom.Tables["CourseInfo"];
roomScheduler.DataBind();
roomScheduler.Update();
DataSet dsTrainer = CourseManager.GetTrainerSchedule();
trainerScheduler.DataSource = dsTrainer .Tables["CourseInfo"];
trainerScheduler.DataBind();
trainerScheduler.Update();
}
Am I missing something?
Thanks for your help!