This is a migrated thread and some comments may be shown as answers.

RadScduler appointment data is not saving when appointment is resized using mouse

2 Answers 114 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Anoop
Top achievements
Rank 1
Anoop asked on 24 Dec 2012, 06:37 PM
This is somewhat complicated for me to explain (q3 2012) .Pardon me if it my error
I had added radScheduler and Navigator.Binded it.then bined with a database SchedulerData.mdb
done every step as per latest help file.Then i had created a button and write the update script provided in the help.
Added new appointments it saves fine.
 Now in the DayView/week view/Month view i tried to resized an appointment using mouse(time is in the positive direction that is this time to future time)It resized and shown perfectly.But after hilting the update button it will regain it's previous state.the problem is not present in time line view also if i manually in put schedule time there will be no error.Did i forget some thing or is it an error ?

2 Answers, 1 is accepted

Sort by
0
Anoop
Top achievements
Rank 1
answered on 28 Dec 2012, 07:42 PM
Please tell me is it an error or not ?
0
Jeff
Top achievements
Rank 1
answered on 28 Dec 2012, 09:45 PM
I don't allow appointments to be resized but I do allow them to be moved. This is my code to handle moving, maybe something similar will work for resizing. "Fill()" is a sub that contains the TableAdapter.Fill as well as other code to populate listboxes and comboboxes, but the part that saves the move is the EndEdit and Update.

    Private Sub RadScheduler1_AppointmentDropped(sender As Object, e As Telerik.WinControls.UI.AppointmentMovedEventArgs) Handles RadScheduler1.AppointmentDropped
        Dim Result = MsgBox("Are you sure you want to move this activity?", MsgBoxStyle.YesNo)
        If Result = MsgBoxResult.Yes Then
            ActActivityScheduleBindingSource.EndEdit()
            ActActivityScheduleTableAdapter.Update(ExecuSuitePMSDataSet.ActActivitySchedule)
            Fill()
        Else
            Fill()
        End If
    End Sub
Tags
Scheduler and Reminder
Asked by
Anoop
Top achievements
Rank 1
Answers by
Anoop
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Share this question
or