[SOLVED] DateTimePicker Cannot set to null

Answered
0
0

Hi,

After installing the Development Build Ver 2.2.33, I have an issue with my datetime picker, i can no longer set its nullablevalue to null, it raises an error, please check and I hope this can be fixed.

 

Thank you.

  • You must to post comments
Best Answer
0
0

Hi Glenn,

this issue is fixed in our latest Wisej release (2.2.36).

Best regards
Frank

  • You must to post comments
0
0

In the designer, when I drag a DateTimePicker, before I can clear the value, but now I get this error “property value is not valid”, the following is the details:

 

Value of ‘1/1/0001 12:00:00 AM’ is not valid for ‘Value’. ‘Value’ should be between 1/1/1753 12:00:00 AM and 12/31/9998 12:00:00 AM.
Parameter name: Value

 

And in my code this the error message:

 

Message = “Nullable object must have a value.”

StackTrace = ”   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at Wisej.Web.DateTimePicker.set_NullableValue(Nullable`1 value)\r\n   at MainApp.Customers.frmInvoice.frmCustomer_Load(Object sender, EventArgs e) in …..

Thanks.

 

 

 

  • Glenn Gonzales
    Hi, I cleared the value of the datetimepicker control, which was possible before the update, the reason why I am eager to test it because of the issue of the numericdropdown bug I reported, and in code, when I assign the nullablevalue equal to null, now it raises an error. I have my code already working for almost a year regarding datetime picker just after the update it gives that strange behaviour. Thanks.
  • Glenn Gonzales
    Also, I created a new project and the same issue, I cannot clear the value during design time from the properties window, I cannot also set the nullablevalue to null.
  • Glenn Gonzales
    hi, any update on this? Thanks.
  • Frank (ITG)
    Hi Glenn, yes. We could reproduce, have fixed it and it´s now in internal testing. We´ll inform you when it´s included in a new Wisej build. Best regards, Frank
  • Glenn Gonzales
    Hi, What is the estimated release date ? Thanks.
0
0

Hi Glenn,

can you please share a sample and send us the error description?

Thanks in advance.

Best regards
Frank

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.