RadScheduler - Edit Resource List in a Reoccurring Execption

2 posts, 0 answers
  1. Matthew Bone
    Matthew Bone avatar
    2 posts
    Member since:
    Feb 2010

    Posted 20 May 2013 Link to this post

     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
  2. Matthew Bone
    Matthew Bone avatar
    2 posts
    Member since:
    Feb 2010

    Posted 20 May 2013 Link to this post

    I have solved the issue. was due to the way the data is saved.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top