Null exception when fast click with many appointments

2 posts, 0 answers
  1. Michal
    Michal avatar
    9 posts
    Member since:
    Aug 2012

    Posted 05 Dec 2012 Link to this post


    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)
  2. Yana
    Yana avatar
    4547 posts

    Posted 10 Dec 2012 Link to this post

    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,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top