DisplayDateStart blows up

5 posts, 0 answers
  1. Scott Michetti
    Scott Michetti avatar
    92 posts
    Member since:
    Feb 2010

    Posted 05 Aug 2010 Link to this post

    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

     

  2. Scott Michetti
    Scott Michetti avatar
    92 posts
    Member since:
    Feb 2010

    Posted 06 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 11 Aug 2010 Link to this post

    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
  5. John
    John avatar
    10 posts
    Member since:
    Jun 2009

    Posted 26 May 2011 Link to this post

    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
  6. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 Jun 2011 Link to this post

    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
Back to Top
DevCraft banner