Hello,
Need some help: when i assigne a Nullable<DateTime> filed to the WebDatePicker:
"Cannot convert source type 'System.Nullable<DateTime>' to target type 'System.DateTime'..
wdpDiscDate.Date = vipLifeCycleEo.DiscDate;
I have set the WebMonthCalendar and WebDatePicker to allow nulls...
Thanks
Sal
Hi salsack71,
The Nullable property of the WebDatePicker refers to the ability of setting the Value property of the control to null (setting the value of the date picker also sets its Date). Therefore in your case I suggest trying:
WebDatePicker1.Value = db.DiscDate;
Please let me know if this resolves your issue.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Please feel free to contact me if you need further assistance.