This question is locked. New answers and comments are not allowed.
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