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

datepicker possible animation issue

1 Answer 72 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.
Craig Roberts
Top achievements
Rank 1
Craig Roberts asked on 10 Nov 2010, 09:11 AM
Hello Support,

I get this error when I double click the datepicker control to select date.
I can continue pass the error, I can select the date OK, but I see a flickering transition?/animation? and the screen stays black.

Regards
Craig




System.NullReferenceException was unhandled
  Message=NullReferenceException
  StackTrace:
       at Telerik.Windows.Controls.RadWindow.OnOpenAnimationCompleted()
       at Telerik.Windows.Controls.RadAnimationManager.InvokeCallbacks(Storyboard storyboard)
       at Telerik.Windows.Controls.RadAnimationManager.StopStoryboard(PlayAnimationInfo info)
       at Telerik.Windows.Controls.RadAnimationManager.OnStoryboardCompleted(Object sender, EventArgs e)
       at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 10 Nov 2010, 10:44 AM
Hi Craig,

Thank you for contacting us.

The problem is that when you double-click the picker it starts an open animation upon the first click and attempts to close (open animation is still running) upon the second click. This causes a NullReferenceException to be thrown, which leaves the window in invalid state and that is why you see a blank (black) screen.

We have fixed the bug immediately and the fix will be available in our next CTP release.

I would like to thank you for your time and for reporting this bug. Your Telerik points are updated as a token of our gratitude.


All the best,
Georgi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
DatePicker and DateSelector
Asked by
Craig Roberts
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or