Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
UltraDateTimeEditor and Nullable<DateTime>
posted

Hi. I hoped that the UltraDateTimeEditor would support databinding to DateTime? types, but it appears to not be as simple as setting the Nullable property. My object has the following property:

public DateTime? ProcessDate{get;set;}

 and I am setting up a binding as folows: 

myDateTimeEditor.DataBindings.Add(new Binding("Value", myObject, "ProcessDate"));

However, databinding doesn't seem to work at all with nullable types. Is this correct?

Parents Reply Children