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

DisplayDateStart blows up

4 Answers 80 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Scott Michetti
Top achievements
Rank 1
Scott Michetti asked on 05 Aug 2010, 08:59 PM

Hello, the following code causes a silverlight error. Is there a workaround?
MyDatePicker.DisplayDateStart = DateTime.Now.AddDays(-1);

Error: Unhandled Error in Silverlight Application
Code: 1001   
Category: ParserError      
Message: AG_E_UNKNOWN_ERROR

Interesting though, the following code does not cause an error.
MyDatePicker.DisplayDateStart = DateTime.Now.AddDays(-5);

I wonder if this is related to issue 2717 on this thread.
http://www.telerik.com/community/forums/silverlight/datepicker/crashing-displaydatestart-and-displaydateend.aspx

Thanks.
Scott

 

4 Answers, 1 is accepted

Sort by
0
Scott Michetti
Top achievements
Rank 1
answered on 06 Aug 2010, 02:43 PM
I just noticed that depending on the date of the computer, this will or will not have an error. On Aug 5, DateTime.Now.AddDays(-5);
didn't error. But today, Aug 6, DateTime.Now.AddDays(-5)  does error. DateTime.Now.AddDays(-6); will not error today.
Also, I'm using the DatePicker, not the DateTimePicker.

Scott
0
George
Telerik team
answered on 11 Aug 2010, 11:22 AM
Hi Scott Michetti,

Thank you for contacting us.

Unfortunately, this issue is similar with the one you found - http://www.telerik.com/community/forums/silverlight/datepicker/crashing-displaydatestart-and-displaydateend.aspx . We will fix it as soon as possible. Sorry for any inconvenience caused.

Please do not hesitate to contact us if you require any further information.

Kind regards,

George
the Telerik team

 

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 26 May 2011, 12:46 PM
After spending some time trying to workaround this bug I have reached a point where I have got it to work with one usercontrol but not the other (where it is initially collapsed and then becomes visible when required). This bug was reported last year and still hasn't been resolved. 

Is there any timeframe for fixing this bug as it is quite frustrating.

Thanks,

John
0
Yana
Telerik team
answered on 01 Jun 2011, 08:23 AM
Hi John,

The fix was delayed due to some more urgent tasks. We understand that this is an annoying problem and it is in our ToDo list, but at the moment we cannot commit a certain timeframe for fixing it. I'm sorry for the inconvenience.

Best wishes,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DateTimePicker
Asked by
Scott Michetti
Top achievements
Rank 1
Answers by
Scott Michetti
Top achievements
Rank 1
George
Telerik team
John
Top achievements
Rank 1
Yana
Telerik team
Share this question
or