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

RadDatePicker NullReference Exception

2 Answers 57 Views
DatePicker and DateSelector
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 31 Oct 2011, 01:21 AM
OK, so the app I'm working on has a page named EditItemView with a RadDatePicker control for entering a Due date. You can get to this page two different ways. The first, which doesn't get the exception is though an 'Add' button on the ApplicationBar and call to a ViewModel that navigates to the EditItemView. The second, which gets the NullReference exception is after holding and item on a list (using GestureListeners from the WP7 toolkit). The hold getsture procs and another method on a ViewModel is called to, again, navigate to the EditViewModel with the RadDatePicker.

In the second situation, when you click the box and bring up the date selector page if you hit any of three boxes to change the date you get an exception. Included is the trace to the exception. I can clarify or provide more information if needed. Anyone had any issues so far with GestureListeners and the RadDatePicker?

   at Telerik.Windows.Controls.TiltInteractionInfo.Clear(Boolean animate)
   at Telerik.Windows.Controls.TiltInteractionEffect.EndTilting(Boolean animate)
   at Telerik.Windows.Controls.TiltInteractionEffect.OnElementManipulationCompleted(Object sender, RoutedEventArgs 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)

2 Answers, 1 is accepted

Sort by
0
Matthew
Top achievements
Rank 1
answered on 31 Oct 2011, 01:20 PM
OK, I've got a small app with a reproduction of the problem. It's zipped. How to I send it to you guys?
0
Deyan
Telerik team
answered on 31 Oct 2011, 03:22 PM
Hello Matthew,

Thanks for writing back.

You simply have to open a new Support Ticket in order to be able to attach your app.

Let me know if you need further assistance with this.

We look forward to receiving the app.

Best wishes,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DatePicker and DateSelector
Asked by
Matthew
Top achievements
Rank 1
Answers by
Matthew
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or