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

RadScheduler - Edit Resource List in a Reoccurring Execption

1 Answer 40 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Matthew Bone
Top achievements
Rank 1
Matthew Bone asked on 20 May 2013, 02:40 PM
 I don't seam to able to edit my resource list in a Reoccurring Exception. I am using a custom Edit Appointment Dialogue with the following code in the ApplySettingsToEvent, I am sure there is something i may need to add/correct but this has got me stumped.


 Protected Overrides Sub ApplySettingsToEvent(ByVal ev As Telerik.WinControls.UI.IEvent)

        MyBase.ApplySettingsToEvent(ev)

        ev.ResourceIds.BeginItemUpdate()
        ev.ResourceIds.Clear()

        For Each item As RadListDataItem In listResources1.SelectedItems
            Dim resourceId As EventId = TryCast(item.Value, EventId)
            If Not ev.ResourceIds.Contains(resourceId) Then
                ev.ResourceIds.Add(resourceId)
            End If
        Next

        ev.ResourceIds.EndItemUpdate()

    End Sub

1 Answer, 1 is accepted

Sort by
0
Matthew Bone
Top achievements
Rank 1
answered on 20 May 2013, 06:30 PM
I have solved the issue. was due to the way the data is saved.
Tags
Scheduler and Reminder
Asked by
Matthew Bone
Top achievements
Rank 1
Answers by
Matthew Bone
Top achievements
Rank 1
Share this question
or