Hi isteve,
Yes this appears to be a casting issue. The SelectedDate property must be set with a DateTime object. The following sample demonstrates binding the date picker within a DataGrid. See http://basicdatepicker.com/samples/item3.aspx
Another issue to be aware of is how Null values or empty dates are handled when trying to bind to SelectedDate. There is no Null within the DateTime object, so you 'fake' it with a replacment value. Within the date picker we use DateTime.MinValue as the replacement for Null or empty date. So, in the sample above, we check whether a value exists that can be converted into a DateTime object or return DateTime.MinValue to represent a Null date.
Hope this helps.
Thanks,
Geoffrey McGill
----------------------------------------
Coolite Inc.
Email: support [at] coolite [dot] com
Phone: +1(888)775-5888