Error with Drop Property

4 posts, 0 answers
  1. soms
    soms avatar
    10 posts
    Member since:
    Jan 2011

    Posted 03 Feb 2011 Link to this post

    hi,

    i am using RadDragandDropManager Control. i am using three events for Rad Scheduler as follows:

     RadDragAndDropManager.AddDragQueryHandler(this, OnDragQuery);
     RadDragAndDropManager.AddDropQueryHandler(this, OnDropQuery);
     RadDragAndDropManager.AddDropInfoHandler(this, OnDropInfo);

    After Completing the OnDropInfo event I have get Following Error. i can no understand why it is coming. The Complete Error Details are as Follows:

    {System.NullReferenceException: Object reference not set to an instance of an object.

       at Telerik.Windows.Controls.TimeSlotItemsControl.OnTimeSlotItemsControlDropInfo(Object sender, DragDropEventArgs e)

       at Telerik.Windows.Controls.DragDrop.DragDropEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

       at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)

       at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)

       at Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)

       at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)

       at Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)

       at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)

       at Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)

       at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.RaiseDropInfo()

       at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnRealDrag(IMouseEventArgs e)

       at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnCoverRectangleMouseMove(Object sender, MouseEventArgs e)

       at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)

       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)}


    Please Help me. Its Urgent.


  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 03 Feb 2011 Link to this post

    Hello soms,

    Could you please let us know the version of our controls used. Also, I can suggest to try our latest official release.
    All the best,
    Tsvyatko
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. soms
    soms avatar
    10 posts
    Member since:
    Jan 2011

    Posted 03 Feb 2011 Link to this post

    Hi,

    i am using "RadControls_for_Silverlight_4_2010_1_0603_DEV". After Completing the DropInfo event its produce the error as "Object Reference not et an instace an object".


  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 03 Feb 2011 Link to this post

    Hi,

    This is our Q1 2010 SP1. It will be better to use our latest service pack - Q3 2010 SP1.

    Regards,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top