For Each oTimeItem In ctlScheduler.ChildrenOfType(Of TimeSlotItem)()
oTimeItem.SetValue(Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.AllowDropProperty,
True)
Next
as is indicated in blogs and eles where to tie in the drop events in the destination control. I recieve the drag event info in:
Private Sub OnDropInfo(ByVal sender As Object, ByVal e As DragDropEventArgs)
also from various pointers. I confirm for the month view it is an event I want checking the type of the e.destination and the datacontext, but I do not find any in the day or week view, even though my appointments show across all views. I can get my drop events to fire if I use the type SchedulerPresenter instead of TimeSlotItem problem is that I can not determine the date as it does not have the DataContext the TimeSlotItem would have. The information presented at the time of the event by SchedulerPresenter does not appear to provide an accessable presentation of the date of the destination.
How can I get this? The scheduler item has a selected date, but this is not the date where I am truing to drop the item. Where can I get the date?
Thank you for any help you can provide.
Terry