//In custom appointment, to reset the data provider
//After adding the appointment to the DataSource
this.schedulegrid.ResetProvider(this.schedulegrid.ScheduleType);
//In Form, to disable the save dialog on close
this.scheduleControl1.DataSource.SaveOnCloseBehaviorAction =SaveOnCloseBehavior.SaveWithoutPrompt; |