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

Null exception when fast click with many appointments

1 Answer 26 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 05 Dec 2012, 08:35 AM
Hello,

We've encountered exception while using ScheduleView

It throws when fast click between appointments.
We figured out from the callstack that its because of the drag-drop.
We provided the dragdrop behavior with ovverided methods CanStartDrag and some others returning false (to prevent drag) as stated here.
It seems that those methods (callstack) fire independently from the provided behavior. Is there a way to prevent them from executing?
Can we catch this exception somehow?

w Telerik.Windows.Controls.AppointmentItem.EnsureSelected()
w Telerik.Windows.Controls.DragDropHelper.OnDragInitialize(Object sender, DragInitializeEventArgs e)
w Telerik.Windows.DragDrop.DragInitializeEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
w Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
w Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
w Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
w Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
w Telerik.Windows.DragDrop.DragInitializer.StartDrag()
w Telerik.Windows.DragDrop.DragInitializer.StartDragPrivate(UIElement sender)
w Telerik.Windows.DragDrop.DragInitializer.DragSourceOnMouseMove(Object sender, MouseEventArgs e)
w MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
w MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 10 Dec 2012, 11:40 AM
Hello Michal,

I have tried to reproduce this exception but without much success.  Is it possible to send us more details on your scenario and/or sample project where the issue can be reproduced?

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Michal
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or