Hello,
weird enought... I found that RadDateTimePicker's Value property is of DateTime type where the corresponding ASP.NET AJAX is the nullable DateTime?
I use DataTime? property in all of my classes and I use DataBindings
RadDateTimePeaker rdp;
rdp.DataBindings.Add("Value", myObj, "MyNullableDataTimeFields");
this obviously fails
is quite hugly IMHO.
Any advice?
Thank you
Lorenzo
PS I use RadControls for Winforms Q2 2008
weird enought... I found that RadDateTimePicker's Value property is of DateTime type where the corresponding ASP.NET AJAX is the nullable DateTime?
I use DataTime? property in all of my classes and I use DataBindings
RadDateTimePeaker rdp;
rdp.DataBindings.Add("Value", myObj, "MyNullableDataTimeFields");
this obviously fails
if (myObj.MyNullableDateTimeProperty== null) |
rdp.SetToNullValue(); |
else |
rdp.Value = myObj.MyNullableDateTimeProperty.Value; |
is quite hugly IMHO.
Any advice?
Thank you
Lorenzo
PS I use RadControls for Winforms Q2 2008