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

3 posts, 0 answers
  1. Anoop
    Anoop avatar
    18 posts
    Member since:
    Dec 2012

    Posted 24 Dec 2012 Link to this post

    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. Anoop
    Anoop avatar
    18 posts
    Member since:
    Dec 2012

    Posted 28 Dec 2012 Link to this post

    Please tell me is it an error or not ?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jeff
    Jeff avatar
    48 posts
    Member since:
    Apr 2012

    Posted 28 Dec 2012 Link to this post

    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
Back to Top