Hello,
Prior to Q2 2011 SP1 (version 2011.2.11.831), we had no problems with the subclass of the RadDateTimePicker we created, but since then, we are having issues with SetToNullValue() and DataBinding. We were using RadControls for WinForms Q3 2010 prior to updating.
When we call this.radDateTimePicker1.SetToNullValue(), it appears to "null" out the control, but when you move to the next control, the datetime control goes from not having a value displayed to displaying the value before SetToNullValue() was called. In the bound source, the column contains the NullDate value while the control's Value property has the value from before SetToNullValue() was called
I have also come across inconsistency of values when the control is bound to a dataset from SQL Server. From tracing thru the code, we are able to determine that the correct date is in the Value property, but when we looked at the DataTable its bound to, the value there is different.
The code has not changed and I have been able to replicate the SetToNullValue behavior in a new project using just the RAD controls.
Any help is appreciated,
Chet
Prior to Q2 2011 SP1 (version 2011.2.11.831), we had no problems with the subclass of the RadDateTimePicker we created, but since then, we are having issues with SetToNullValue() and DataBinding. We were using RadControls for WinForms Q3 2010 prior to updating.
When we call this.radDateTimePicker1.SetToNullValue(), it appears to "null" out the control, but when you move to the next control, the datetime control goes from not having a value displayed to displaying the value before SetToNullValue() was called. In the bound source, the column contains the NullDate value while the control's Value property has the value from before SetToNullValue() was called
I have also come across inconsistency of values when the control is bound to a dataset from SQL Server. From tracing thru the code, we are able to determine that the correct date is in the Value property, but when we looked at the DataTable its bound to, the value there is different.
The code has not changed and I have been able to replicate the SetToNullValue behavior in a new project using just the RAD controls.
Any help is appreciated,
Chet